void LoadCustomerQuiry() { objService = new ServeAtDoorstepService(); dtQuote = objService.SelectInquiryByCustomerId(1); if (dtQuote.Rows.Count > 0) { } else { } gvQuiry.DataSource = dtQuote.DefaultView; gvQuiry.DataBind(); }
void LoadCustomerQuiry() { objService = new ServeAtDoorstepService(); if (sLoginType == "1") dtQuote = objService.SelectInquiryByCustomerId(Convert.ToInt32(sLoginId)); if (dtQuote.Rows.Count > 0) { } else { } gvQuiry.DataSource = dtQuote.DefaultView; gvQuiry.DataBind(); }