|
它是怎样向aspx提交数据的,aspx又是怎样处理的? 谢谢! |
|
|
|
没法细说,找一本aspx教材看看就明白了
|
|
|
<TD style="WIDTH: 406px; BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#ffffff" align="right" width="406" bgColor="#000080" borderColorDark="#ffffff">
<P style="LINE-HEIGHT: 150%"><STRONG><FONT face="Verdana" color="#ffffff" size="2">使用者帳號:</FONT><FONT face="Verdana" color="#000080" size="2"> </FONT></STRONG></P> </TD> <TD style="BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#000080" width="650" borderColorDark="#000080"> <P style="LINE-HEIGHT: 150%"> <asp:textbox id="textLoginID" runat="server"></asp:textbox></P> </TD> </TR> <TR> <TD style="WIDTH: 406px; BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#ffffff" align="right" width="406" bgColor="#000080" borderColorDark="#ffffff"> <P style="LINE-HEIGHT: 150%"><STRONG><FONT face="Verdana" color="#ffffff" size="2">使用者密碼:</FONT><FONT face="Verdana" color="#000080" size="2"> </FONT></STRONG></P> </TD> <TD style="BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#000080" width="650" borderColorDark="#000080"> <P style="LINE-HEIGHT: 150%"> <asp:textbox id="textPassword" runat="server" Width="155px" TextMode="Password"></asp:textbox></P> </TD> </TR> <TR> <TD style="WIDTH: 406px; BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; HEIGHT: 27px; BORDER-BOTTOM-STYLE: groove" borderColorLight="#ffffff" align="right" width="406" bgColor="#000080" borderColorDark="#ffffff"><STRONG><FONT face="Verdana" color="#ffffff" size="2">會計週期(年月): </FONT></STRONG> </TD> <TD style="BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; HEIGHT: 27px; BORDER-BOTTOM-STYLE: groove" borderColorLight="#000080" width="650" borderColorDark="#000080"><FONT face="新細明體"> <asp:TextBox id="txtPerdID" runat="server"></asp:TextBox> <asp:Label id="Label1" runat="server" Font-Bold="True" ForeColor="Navy" Font-Size="10pt">(例 : 200305 )</asp:Label></FONT></TD> </TR> <TR> <TD style="WIDTH: 406px; BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#ffffff" align="right" width="406" bgColor="#000080" borderColorDark="#ffffff"><STRONG><FONT face="Verdana" color="#000080" size="2"> </FONT></STRONG></TD> <TD style="BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" borderColorLight="#000080" width="650" borderColorDark="#000080"> <asp:button id="Button1" runat="server" Width="50px" Text="登入"></asp:button><FONT face="Verdana"> </FONT><asp:label id="labErrMsg" runat="server" Width="354px" Font-Size="X-Small" ForeColor="Red" Font-Bold="True"></asp:label></TD> </TR> </TABLE> </FONT></FONT></FONT></STRONG> </P> </form> </DIV> <script language="javascript"> window.document.forms[0].textLoginID.focus(); function login() { if (window.document.forms[0].textLoginID.value !="" && window.document.forms[0].textPassword.value !="") { window.document.forms[0].Button1.click(); window.document.forms[0].textLoginID.focus(); } } //document.onclick =login; </script> </body> </HTML> |
|
|
老兄,到网上下载源代码看看!例如:云南商务网
|
|
|
代码太多了,去找一找了!
|
|