473,473 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to create website in vb.net (new at vb .net)

10 New Member
I am new at vb .net and I want to know how to make website in it? like connect two papes or using header in different file and linking it together etc..

for some reason when I create a page than vb studio automatic adds a form tag and creates two files(aspx and aspx.vb files). I am not sure if I need aspx.vb when making websites.

header.aspx
since menu is always same in all pages. it would be good idea to put the code in different file and include when you need it.



Expand|Select|Wrap|Line Numbers
  1. <html> 
  2.     <body> 
  3.     <form...> 
  4.         <div> 
  5.             <% simple menu. %> 
  6.             <a href="page1.aspx"> home </a> 
  7.             <a href="page2.aspx"> page 2 </a> 
  8.         </div> 
  9.     </form> 
  10.  </body> 
  11. </html>
  12.  

page1.aspx
this will be main or home page

Expand|Select|Wrap|Line Numbers
  1. <html> 
  2.     <body> 
  3.         <form...> 
  4.             <div> 
  5.             <!-- header fiel --> 
  6.             <%          
  7.                   Response.WriteFile ("header.aspx")
  8.                %> 
  9.             </div> 
  10.         </form> 
  11.    </body> 
  12. </html>
  13.  

page2.aspx
Expand|Select|Wrap|Line Numbers
  1. <html> 
  2.     <body> 
  3.         <form...> 
  4.             <div> 
  5.             <!-- header fiel --> 
  6.             <%          
  7.                   Response.WriteFile ("header.aspx")
  8.                %> 
  9.             </div> 
  10.         </form> 
  11.    </body> 
  12. </html>
  13.  
Jul 6 '15 #1
0 1450

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: lewi | last post by:
I am try to get in ASP.NET developement and I got IIS 5.0 and VS.NET 2002 on Windows 2000 Server... I created a new website(index.asp - just text without HTML/ASP tags - works in IE) in IIS and...
1
by: xudeutsch | last post by:
Maybe no one is interested but i need the solution. This time followed the steps made by Microsoft:install IIS, .net and Visual Studi components that are required for Visual Studio to be able t...
1
by: rmunson8 | last post by:
Using the Beta of VS 2005, I'd like to create a website that will be deployed on a server that has .Net 1.1. I understand how to modify the IIS web site properties to run on .Net 1.1, and I have...
4
by: Colin | last post by:
Hi there, Can anyone tell me what is wrong with my VS.NET? Recently I am trying to create a new Web project by the VS.NET 2003 in the win2000 prof, however I get a message say:"VS.NET has detect...
8
by: Stimp | last post by:
I need to take my website offline for an hour or so while I perform some maintenance... is it possible to create a 'catch-all' redirect to a temporary page (i.e. something in Web.config or...
17
by: stubbsie | last post by:
Hi, I have redesigned our official public government website in .net and it has taken me a few months to redo. I have been the sole designer of the website from its humble beginnning a few years...
2
by: Elmo Watson | last post by:
I've got VS.Net 2005 - professional I have an idea for a custom control, which will inherit some databinding stuff, but I'm not really sure where to start. There's not anything in the New Project...
0
by: Borat | last post by:
Hi all! I have a website that includes different applications and I want to create a setup-project for this, but it seems to me that this is not possible with the VS-WebSetup-project. There is...
13
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I want to create a new column in a datatable from two existing columns. I have no problem to create the new column using the datatable.columns.add method. The problem is the value of the new...
5
by: Trond | last post by:
Let's say you are designing a system where everyone from one company shall have the same password, and then John Doe - for some reason - has forgotten the password and requests it from the website. ...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.