How To Develop ASP.NET Web Applications Using VB.NET
Rate this article
0 out of 5
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.





 


Source code

Web Form 1
<%@ 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>&nbsp;</P>
</TD>
</TR>
<TR>
<TD>
<uc1:FooterControl id="FooterControl1" runat="server"></uc1:FooterControl></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>

HeaderControl

<%@ Control Language="vb" AutoEventWireup="false" Codebehind="HeaderControl.ascx.vb" Inherits="StudentDatabaseExample.HeaderControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<asp:Image id="Image1" runat="server" ImageUrl=".ImageNewmanHeader.JPG" Width="100%"></asp:Image>



Source Code

About The Author
KTS Training

KTS InfoTech Training division offers various short-term programming courses for Students and Professionals who are looking for a bright career in the field of Software development.

The programming video tutorials presented in this web site are taken from some of the training sessions conducted by KTS InfoTech.

You can also learn the Programming packages through Internet directly form our English Speaking Technical experts at an affordable rate.

For more details click here and submit your training requirements.



Number Of articles Posted
60
Number Of Messages Posted
3
Joined Date
14/11/2012
   
Author
Messages
Posted:
Post Your Comments
Name (Max 50 Chars)
Comments

 
TekTipsDownload
GateExam
Academic Projects
TekTipsExperts
Android