Example #1
0
 protected void btnTim_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtSdt.Text))
     {
         string userId = txtSdt.Text.Trim();
         //userId = userId.Replace(userId.Substring(0,1), "84");
         DataTable dtUser = WapController.BigPromotionGetCode(userId);
         if (dtUser != null && dtUser.Rows.Count > 0)
         {
             rptCode.DataSource = dtUser;
             rptCode.DataBind();
         }
     }
 }