综合类B2B市场的设计与实现源代码
mycmd.Parameters.Add("@comEmail", SqlDbType.NVarChar).Value = TextBox4.Text;
mycmd.Parameters.Add("@comID", SqlDbType.Int).Value = -1;
mycmd.ExecuteNonQuery();
myConn2.Close();
Session["comName"] = username.Text;
Response.Redirect("Default2.aspx");
}
else
{
Label1.Text = "输入邮箱地址";
}
}
else
{
Label1.Text = "两次输入的密码不一致";
}
}
else
{
Label1.Text = "密码不能为空";
}
}
Dr1.Close();
}
else
{
Label1.Text="请输入用户名";
}
myConn.Close();
}
}
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_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 id="Head1" runat="server">
<title>无标题页</title>
<style type="text/css">
.biankuang{
border-top:3px solid #c0c0c0;
border-bottom:3px solid #c0c0c0;
border-left:3px solid #c0c0c0;
border-right:3px solid #c0c0c0;
}
#thisform {
font-family: Georgia, serif;
font-size: 14px;
color: #111111;
}
#thisform label {
font-family: Verdana, sans-serif;
font-weight: bold;
color: #111111;
}
</style>
</head>
<body>
<form id="thisform" runat="server">
<div>
<center>
<asp:Panel ID="Panel1" runat="server" Height="500px" Width="800px">
<asp:Table ID="Table1" runat="server">
<asp:TableRow>
<asp:TableCell>
<asp:Panel ID="Panel2" runat="server" Height="150px"></asp:Panel>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label1" runat="server"
Text="管理员登录"
CssClass="biankuang" Height="230px" Width="200px"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<asp:Panel ID="Panel3" runat="server" Height="200px" Width="20px">
</asp:Panel>
</asp:TableCell>
<asp:TableCell>
<asp:Table ID="Table2" runat="server" BackColor="Silver" CellSpacing="10" CellPadding="2"
Height="230px">
<asp:TableRow>
<asp:TableCell>登录账号</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="username" runat="server" Width="150" Text=""></asp:TextBox></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>登录密码</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="password1" runat="server" TextMode="Password" Width="150" Text=""></asp:TextBox></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>验证密码</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="password2" runat="server" TextMode="Password" Width="150" Text="" ReadOnly="true"></asp:TextBox></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>企业邮箱</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="TextBox4" runat="server" Width="150" Text="" ReadOnly="true"></asp:TextBox></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>未知</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="TextBox5" runat="server" Width="150"></asp:TextBox></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Button ID="btnLogin" runat="server" Text="登录/注册" OnClick="btnLogin_Click" /></asp:TableCell>
<asp:TableCell><asp:HyperLink ID="hyperlink1" runat="server" NavigateUrl="~/Explain.htm">确认您已阅读免责声明</asp:HyperLink>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</asp:Panel>
</center>
</div>
</form>
</body>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!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>
<style type="text/css">
.biankuang{
border-top:3px solid #c0c0c0;
border-bottom:3px solid #c0c0c0;
border-left:3px solid #c0c0c0;
border-right:3px solid #c0c0c0;
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}
.td1{
colspan="4";
}
www.751com.cn .td3{
width="100px";
valign="top";
nowrap="nowrap"
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Panel ID="Panel1" runat="server" Height="500px" Width="800px">
<asp:Table ID="Table1" runat="server" Height="">
<asp:TableRow>
<asp:TableCell>
<asp:Panel ID="Panel4" runat="server" Height="500px" Width="125px">
<asp:Table ID="Tableleft" runat="server" Height="">
<asp:TableRow>
<asp:TableCell>
<asp:Table ID="userinfo" runat="server" Height="">
</asp:Table>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Table ID="Tablebtn" runat="server" Height="">
<asp:TableRow>
<asp:TableCell>
<asp:Button ID="Button4" runat="server" Text="发布信息" OnClick="Button4_Click" />
<asp:Button ID="Button1" runat="server" Text="用户信息" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="退出" 上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
asp.net综合类B2B市场的设计与实现 第8页下载如图片无法显示或论文不完整,请联系qq752018766