Menu

[r6]: / trunk / NUnitAspTestPages / MultipleFormsTest1.aspx  Maximize  Restore  History

Download this file

32 lines (29 with data), 1.8 kB

 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
26
27
28
29
30
31
<%@ Page language="c#" Inherits="NUnitAspFormsTest.MultipleFormsTest1" CodeFile="MultipleFormsTest1.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>NUnitASP Forms Test 1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body style="MARGIN: 0px">
<table width="100%" bgcolor="darkblue" style="COLOR: white" border="1">
<tr><td valign="top">Search box uses a seperate form --&gt;</td><td align="right" valign="top"><form style="DISPLAY: inline" method="get" action="TheSearchPage.aspx">Search:<input type="text"><input type="submit" value="GO"></form>&nbsp;&nbsp;</td></tr>
<tr><td colspan="2"><table bgcolor="white" width="100%"><tr><td>
<form id="Form1" method="post" runat="server">
<table align="center">
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td colspan="2" align="middle"><asp:label runat="server" id="lblOutput"></asp:label></td></tr>
<tr><td align="right">Field 1:</td><td><asp:textbox runat="server" id="txtField1"></asp:textbox></td></tr>
<tr><td align="right">Field 2:</td><td><asp:textbox runat="server" id="txtField2"></asp:textbox></td></tr>
<tr><td align="middle" colspan="2"><asp:button runat="server" id="btnOk" text="Ok" onclick="btnOk_Click"></asp:button></td></tr>
</table>
</form>
</td></tr></table>
</td></tr>
<tr><td valign="bottom">This form tag has an ID</td><td align="right" valign="bottom"><form id="frmSearch2" style="DISPLAY: inline" method="get" action="TheSearchPage.aspx">Search:<input type="text"><input type="submit" value="GO"></form>&nbsp;&nbsp;</td></tr>
</td></tr></table>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.