⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.aspx

📁 一个简单的聊天代码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!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>
    <link href="images/StyleSheet2.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-top: 0px;
	margin-left: 0px;
}
.myinput {
	width: 60px;
	height:14px;
}
a {
	text-decoration: none;
}
-->
</style>
</head>
<body>
    <form id="form1" runat="server" >

          
         <table width="760" height="31" border="0" align="center" cellpadding="0" cellspacing="0" class="hu4" > 
           <tr>  
		     <%if (Session["memberlogin"] == null)
             {%>
            <td width="18" height="31" style="height: 31px"><img src="images/images1/commerce_r4_c1.jpg" width="18" height="31" /></td>
            <td width="11" background="images/images1/commerce_r4_c6.jpg" style="height: 31px"><img src="images/images1/commerce_icon4.jpg" width="11" height="9" /></td>
            <td width="60" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px">用户</td>
            <td width="90" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px">
            <asp:TextBox CssClass="myinput" ID="TextBox_usertext" runat="server"></asp:TextBox></td>
            <td width="60" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px">密码</td>
            <td width="90" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><asp:TextBox ID="TextBox_userpass" runat="server" CssClass="myinput" TextMode="Password"></asp:TextBox></td>
            <td width="69" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px"><asp:ImageButton ID="ImageButton" ImageUrl="images/images2/commerce_denglu.jpg" runat="server" OnClick="ImageButton_Click1" /></td>
             <td width="67" align="center" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><asp:ImageButton ID="ImageButton2" ImageUrl="images/images2/commerce_zc.jpg" runat="server" OnClick="ImageButton2_Click" /></td>
            <%}
        else{%> 
              
            <td width="18" style="height: 31px" ><img src="images/images1/commerce_r4_c1.jpg" width="18" height="31" /></td>
            <td width="20" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px"><img src="images/images1/commerce_icon4.jpg" width="11" height="9" /></td>
            <td width="40" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px">用户:</td>
            <td  height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px"  >
              <font color="#FF0000"> <%=Session["membername"]%>已成功登陆!</font> </td>
            <td width="60" height="31"  background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><a href="houtai.aspx" target="_blank">进入管理</a></td>
            <td width="30" height="31"  background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><a href= "logout.aspx" > 注销</a></td>
            <%}%>
            <td width="25" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><img src="images/images1/commerce_sousuo.jpg" width="19" height="21" /></td>
            <td width="60" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" >
                关键子</td>
            <td width="80" height="31" align="right" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" >
              <asp:TextBox ID="TextBox_gjz" runat="server"  CssClass="myinput"></asp:TextBox></td>
            <td width="45" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" >
                类别</td>
            <td height="31" background="images/images1/commerce_r4_c6.jpg" style="width: 74px; height: 31px;" >
                <asp:DropDownList ID="DropDownList1" runat="server" Width="85px" Height="17px">
              </asp:DropDownList></td>
            <td height="31" align="center" background="images/images1/commerce_r4_c6.jpg" style="width: 60px; height: 31px" ><asp:ImageButton ID="ImageButton3" ImageUrl="images/images1/commerce_sousuo1.jpg" runat="server" OnClick="ImageButton3_Click" /> 
         </td>
            <td width="29" height="31" background="images/images1/commerce_r4_c6.jpg" style="height: 31px" ><img src="images/images1/commerce_r4_c15.jpg" width="29" height="31" /></td>
          </tr>
      </table>
    </form>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -