public void UcDataBind() { GroupDS.GroupFacilityDSDataTable dt = BllProxyGroupFacility.GetAllGroupFacilities(facilityId); if (dt.Rows.Count != 0) { objectdatasourceList.SelectParameters.Clear(); objectdatasourceList.SelectParameters.Add("facility_id", facilityId.ToString()); gvList.Sort(sortExpression, sortDirection); } else { this.showErrorMessage("Facility does not exist!"); } }
public void UcDataBind() { GroupDS.GroupFacilityDSDataTable dt = BllProxyGroupFacility.GetAllGroupFacilities(groupId); if (dt.Rows.Count != 0) { //lblSurvey.Text = dt[0].survey_name; objectdatasourceList.SelectParameters.Clear(); objectdatasourceList.SelectParameters.Add("group_id", groupId.ToString()); gvList.Sort(sortExpression, sortDirection); } else { this.showErrorMessage("Group does not exist!"); } }