public void SetKpiPoolGrid() { MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool(); DataSet ds = objBSC.GetDetailAllList(txtKPIName.Text.Trim() , PageUtility.GetByValueDropDownList(ddlKpiType) , PageUtility.GetByValueDropDownList(ddlUseYn) , PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop) , PageUtility.GetIntByValueDropDownList(ddlKpiCategoryMid) , PageUtility.GetIntByValueDropDownList(ddlKpiCategoryLow) , "" ); ugrdKPIPool.Clear(); ugrdKPIPool.DataSource = ds.Tables[0].DefaultView; ugrdKPIPool.DataBind(); }
protected void doBindKpiPool() { MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool(); DataSet ds = objBSC.GetDetailAllList(txtKpiName.Text.Trim() , "" , "" , 0 , 0 , 0 , ""); DataTable dt_filtered = DataTypeUtility.FilterSortDataTable(ds.Tables[0], "KPI_EXTERNAL_TYPE='EXT'"); UltraWebGrid1.Clear(); UltraWebGrid1.DataSource = dt_filtered; UltraWebGrid1.DataBind(); }