void MailCheck()
 {
     objService = new ServeAtDoorstepService();
     DataTable dt = null;
     if (sType == "cus")
         dt = objService.AvailableCusMail(txtEmail.Text.ToString().Trim());
     else if (sType == "ven")
         dt = objService.AvailableVenMail(txtEmail.Text.ToString().Trim());
     if (dt.Rows.Count == 0)
     {
         intMailAvail = 0;
     }
     else
     {
         intMailAvail = 1;
     }
 }
 void MailCheck()
 {
     objService = new ServeAtDoorstepService();
     DataTable dt = objService.AvailableCusMail(txtEmail.Value.ToString().Trim());
     if (dt.Rows.Count == 0)
     {
         intMailAvail = 0;
     }
     else
     {
         intMailAvail = 1;
     }
 }