This the code for the control demo try it out.
<%@ Page Language="
VB" AutoEventWireup="false" CodeFile="ControlsDemo.aspx.
vb" Inherits="Demos_ControlsDemo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
Your Name<asp:TextBox ID="YourName" runat="server"></asp:TextBox>
<asp:Button ID="SubmitButton" runat="server" Text="Submit Information" />
<br />
<asp:Label ID="Label1" runat="server"></asp:Label>
</div>
</form>
</body>
</html>
This is the code for the code behind once it's open in the in the browser.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
</title></head>
<body>
<form method="post" action="ControlsDemo.aspx" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMjA3NjE4MDczNmRkFadufUc6qggDIflm8WyU37blw/C2rPbJauvOQg2tZfI=" />
</div>
<div class="aspNetHidden">
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAwK88/jNBgLTydp0ArK44tQLZ67avkaifOh3sOqseMFW9iU9z8b2I06i +vgFHd40m0A=" />
</div>
<div>
Your Name<input name="YourName" type="text" id="YourName" />
<input type="submit" name="SubmitButton" value="Submit Information" id="SubmitButton" />
<br />
<span id="Label1"></span>
</div>
</form>
</body>
</html
This isn't stopping me from moving forward I just wanted to know why the "value = My Name" is not showing and if it will cause problems for me later.
Thanks for your help