首页 > 学院 > 开发设计 > 正文

存储过程 两种方法的实例

2019-11-15 02:26:06
字体:
来源:转载
供稿:网友
存储过程 两种方法的实例

   1: PRotected void btnSend_Click(object sender, EventArgs e)
   2: {
   3:     int temp = -1;
   4:     int exhibitionID = int.Parse(Request.QueryString["ConList"]);
   5:     int exhibitorType = 0;
   6:     
   7:     int mCustomerID = 0;
   8:     if (session["UserID"] != null)
   9:     {
  10:         ViewState["CID"] = myShare.GetAObject(true, 1, "CustomerID", "Customers", "UserID='" + Session["UserID"].ToString() + "'").ToString();
  11:         if (!string.IsNullOrEmpty(ViewState["CID"].ToString()))
  12:         {
  13:             mCustomerID = Convert.ToInt32(ViewState["CID"].ToString());
  14:         }
  15:     }
  16:     string company = this.txtCompay.Text.Trim();
  17:     string name = this.txtName.Text;
  18:     string tel = this.txtTel.Text;
上一篇:LitJson使用

下一篇:ASP.NET 发送email

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表