void LoadCustomerMessage() { objService = new ServeAtDoorstepService(); if (sLoginType == "1") dt = objService.SelectMessageByCustomerId(Convert.ToInt32(sLoginId)); if (dt.Rows.Count > 0) { } else { } gvCustomerMessage.DataSource = dt; gvCustomerMessage.DataBind(); }