基本信息
源码名称:asp.net企业意见管理系统源码(含数据库)
源码大小:52.17M
文件格式:.zip
开发语言:ASP
更新时间:2019-12-31
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 5 元×
微信扫码支付:5 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
企业意见管理系统,入门级示例源码,适合新手
protected void btnOK1_Click(object sender, EventArgs e)
{
SqlData da = new SqlData();
SqlDataReader read = da.ExceRead("select * from tb_User where Uid='" this.txtUid.Text "'");
read.Read();
if (read.HasRows)
{
if (this.txtUid.Text == read["Uid"].ToString())//判断是否存在相同用户
{
Response.Write("<script language=javascript>alert('对不起,该用户已经注册!');location='Register.aspx'</script>");
return;
}
}
read.Close();
string cmdtxt = "INSERT INTO tb_User(Uid,Pwd,Sex,WebSite,Email,QQ,IP)";//添加用户信息
cmdtxt = " VALUES('" this.txtUid.Text "','" this.txtPwd.Text "','" this.radSex.SelectedValue "'";
cmdtxt = ",'" this.txtWebSite.Text "','" this.txtEmail.Text "','" this.txtQQ.Text "'";
cmdtxt = ",'" Request.UserHostAddress "')";
bool add = da.ExceSQL(cmdtxt);
if (add == true)
企业意见管理系统,入门级示例源码,适合新手
protected void btnOK1_Click(object sender, EventArgs e)
{
SqlData da = new SqlData();
SqlDataReader read = da.ExceRead("select * from tb_User where Uid='" this.txtUid.Text "'");
read.Read();
if (read.HasRows)
{
if (this.txtUid.Text == read["Uid"].ToString())//判断是否存在相同用户
{
Response.Write("<script language=javascript>alert('对不起,该用户已经注册!');location='Register.aspx'</script>");
return;
}
}
read.Close();
string cmdtxt = "INSERT INTO tb_User(Uid,Pwd,Sex,WebSite,Email,QQ,IP)";//添加用户信息
cmdtxt = " VALUES('" this.txtUid.Text "','" this.txtPwd.Text "','" this.radSex.SelectedValue "'";
cmdtxt = ",'" this.txtWebSite.Text "','" this.txtEmail.Text "','" this.txtQQ.Text "'";
cmdtxt = ",'" Request.UserHostAddress "')";
bool add = da.ExceSQL(cmdtxt);
if (add == true)