In this tutorial we will show you how to develop an asp.net web application using vb.net. After viewing the video tutorial, download the source code and try to modify the code so as to get a feel of what is learned in this video tutorial.
<%@ Register TagPrefix="uc1" TagName="FooterControl" src="FooterControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="HeaderControl" src="HeaderControl.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="StudentDatabaseExample.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="black">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 24px; WIDTH: 688px; POSITION: absolute; TOP: 16px; HEIGHT: 75px"
cellSpacing="0" cellPadding="0" width="688" bgColor="white" border="0">
<TR>
<TD>
<uc1:HeaderControl id="HeaderControl1" runat="server"></uc1:HeaderControl></TD>
</TR>
<TR>
<TD>
<DIV style="WIDTH: 688px; POSITION: relative; HEIGHT: 216px" ms_positioning="GridLayout">
<asp:Button id="ButtonAddStudent" style="Z-INDEX: 100; LEFT: 488px; POSITION: absolute; TOP: 40px"
runat="server" Text="Add Student" Width="170px" Font-Size="Medium" Font-Bold="True"></asp:Button>
<asp:Button id="ButtonDeleteStudent" style="Z-INDEX: 101; LEFT: 488px; POSITION: absolute; TOP: 80px"
runat="server" Text="Delete Student" Width="170px" Font-Size="Medium" Font-Bold="True"></asp:Button>
<asp:Button id="ButtonShowStudent" style="Z-INDEX: 102; LEFT: 488px; POSITION: absolute; TOP: 120px"
runat="server" Text="Save Students" Width="170px" Font-Size="Medium" Font-Bold="True"></asp:Button>
<asp:ListBox id="ListBoxStudents" style="Z-INDEX: 104; LEFT: 48px; POSITION: absolute; TOP: 40px"
runat="server" Width="152px" Height="160px"></asp:ListBox>
<asp:Label id="Label1" style="Z-INDEX: 105; LEFT: 224px; POSITION: absolute; TOP: 56px" runat="server"
Width="56px" Font-Size="Medium">Name</asp:Label>
<asp:TextBox id="TextBoxName" style="Z-INDEX: 106; LEFT: 312px; POSITION: absolute; TOP: 56px"
runat="server" Width="144px" Font-Size="Medium"></asp:TextBox>
<asp:Button id="Button1" style="Z-INDEX: 107; LEFT: 488px; POSITION: absolute; TOP: 160px" runat="server"
Text="Load Students" Width="170px" Font-Size="Medium" Font-Bold="True"></asp:Button></DIV>
<P> </P>
</TD>
</TR>
<TR>
<TD>
<uc1:FooterControl id="FooterControl1" runat="server"></uc1:FooterControl></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>