void LoadCustomerCount() { DataTable dtCusCount = null; objService = new ServeAtDoorstepService(); if (sLoginType == "1") dtCusCount = objService.GetCustomerCountById(Convert.ToInt32(sLoginId)); if (dtCusCount != null) { if (dtCusCount.Rows.Count > 0) { lnkLiveQuiryCnt.Text = "(" + dtCusCount.Rows[0]["LiveInqCount"].ToString() + ")"; lnkQuiryRespondCnt.Text = "(" + dtCusCount.Rows[0]["RespondMsgCount"].ToString() + ")"; } else { } } }