-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDefault.aspx
25 lines (24 loc) · 1.06 KB
/
Default.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb" Inherits="DynamicSampleWeb._Default" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="TestForm" runat="server">
<div>
<label for="FirstName">
First Name:</label>
<input id="FirstName" runat="server" type="text" />
<br />
<label for="LastName">
Last Name:</label>
<input id="LastName" runat="server" type="text" />
<asp:RequiredFieldValidator ID="LastNameRequired" runat="server" ControlToValidate="LastName"
ErrorMessage="Last Name must be specified"></asp:RequiredFieldValidator><br />
</div>
<asp:ValidationSummary ID="Errors" runat="server" />
<asp:Button ID="Submit" runat="server" Text="Submit" />
</form>
</body>
</html>