473,394 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

10
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 1447

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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.