示例#1
0
 protected void btnOk_Click(object sender, EventArgs e)
 {
     ConnectionData.OpenMyConnection();
     srdBUS = new SendRegisterDetailBUS();
     ctBUS = new CustomerBUS();
     srdBUS.tblSendRegisterDetail_UpdateUnreceve(SendRegisterID, true, DateTime.Now, email);
     DataTable table=   ctBUS.GetByEmail(email);
     int customerID = int.Parse(table.Rows[0]["Id"].ToString());
     ctBUS.tblCustomer_UpdateRecive(customerID, false);
     ConnectionData.CloseMyConnection();
 }