联系我们

为客户提供超预期的高品质网站设计!

入库

2017-12-25 0:00:00

conn = dbHelper.CreateDB();
        com = conn.CreateCommand();
        com.CommandText = "update users set yaoWeiShuXingID=@yaoWeiShuXing,shenGaoShuXingID=@shenGaoShuXing,yaoWei=@yaoWei,shenGao=@shenGao where ID=@ID";
        com.Parameters.Clear();
        com.Parameters.Add("@yaoWeiShuXing", this.Ddl_yaoWei.SelectedValue);
        com.Parameters.Add("@shenGaoShuXing", this.Ddl_shenGao.SelectedValue);
        com.Parameters.Add("@yaoWei",Text.killURLattack (this.Tb_yaoWei.Text));
        com.Parameters.Add("@shenGao", Text.killURLattack(this.Tb_shenGao.Text));
        com.Parameters.Add("@ID", Session["S_userID"]);
        conn.Open();
        com.ExecuteNonQuery();
        conn.Close();

上一条新闻:JS邮箱验证-正则验证
下一条新闻:

 

400-6137-308 54057491 info@maolian.net