PankajVerma
Programmer
Hi,
I have started learning .net recently.
The very first thing I am trying to do is putting a web control on the page and when I view that by Build and Browse or View in Browser , I am not able to see that.
Here is the code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplicationtest.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.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content=" </HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 394px; POSITION: absolute; TOP: 93px" runat="server" Text="Button"></asp:Button>
</form>
</body>
</HTML>
Please let me know if I am doing something wrong.
I have started learning .net recently.
The very first thing I am trying to do is putting a web control on the page and when I view that by Build and Browse or View in Browser , I am not able to see that.
Here is the code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplicationtest.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.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content=" </HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 394px; POSITION: absolute; TOP: 93px" runat="server" Text="Button"></asp:Button>
</form>
</body>
</HTML>
Please let me know if I am doing something wrong.