protected DataSet CheckTicketID() { try { objBAL = new ClsBAL(); objBAL.manabusRefNo = txtMBRefNo.Text.Trim(); objBAL.createdBy = 0; ObjDataset = (DataSet)objBAL.GetTicketIdByrefnoforcancel(); if (ObjDataset != null) { if (ObjDataset.Tables.Count > 0) { if (ObjDataset.Tables[0].Rows.Count > 0) { CheckStatus = true; return ObjDataset; } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } catch (Exception ex) { throw ex; } }
protected DataSet CheckTicketID() { try { objBAL = new ClsBAL(); // objManabusBAL.emailId = txtEmailID.Text; objBAL.manabusRefNo = txtMBRefNo.Text.Trim(); objBAL.createdBy = Convert.ToInt32(Session["UserID"]); ObjDataset = (DataSet)objBAL.GetTicketIdByrefnoforcancel(); if (ObjDataset != null) { if (ObjDataset.Tables.Count > 0) { if (ObjDataset.Tables[0].Rows.Count > 0) { CheckStatus = true; return ObjDataset; } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } else { CheckStatus = false; ObjDataset = null; return ObjDataset; } } catch (Exception ex) { throw ex; } }