初学者的问题?

黑暗的救赎 2003-10-16 12:58:37
怎样作一张具有登陆功能的html网页文件!
它是怎样向aspx提交数据的,aspx又是怎样处理的?
谢谢!
...全文
33 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
houlinghouling 2003-10-16
  • 打赏
  • 举报
回复
代码太多了,去找一找了!
zhpsam109 2003-10-16
  • 打赏
  • 举报
回复
老兄,到网上下载源代码看看!例如:云南商务网
tohen 2003-10-16
  • 打赏
  • 举报
回复
<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>
阿拉丁 2003-10-16
  • 打赏
  • 举报
回复
没法细说,找一本aspx教材看看就明白了

62,039

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧