public void SetKpiPoolGrid() { //MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool(); //DataSet ds = objBSC.GetAllList(txtKPIName.Text.Trim(), // PageUtility.GetByValueDropDownList(ddlKpiType), // PageUtility.GetByValueDropDownList(ddlUseYn)); //ugrdKPIPool.Clear(); //ugrdKPIPool.DataSource = ds.Tables[0].DefaultView; //ugrdKPIPool.DataBind(); //lblRowCount.Text = ds.Tables[0].Rows.Count.ToString(); MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool bizBscKpiPool = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool(); DataTable dtBscKpiPool = bizBscKpiPool.GetKpiPool_DB(txtKPIName.Text.Trim(), PageUtility.GetByValueDropDownList(ddlKpiType), PageUtility.GetByValueDropDownList(ddlUseYn), DataTypeUtility.GetToInt32(PageUtility.GetByValueDropDownList(ddlKpiVersion)), DataTypeUtility.GetToInt32(PageUtility.GetByValueDropDownList(ddlKpiTemplete))); ugrdKPIPool.Clear(); ugrdKPIPool.DataSource = dtBscKpiPool; ugrdKPIPool.DataBind(); lblRowCount.Text = dtBscKpiPool.Rows.Count.ToString(); }
public void DoBindingTempleteMap(int templete_code) { UltraWebGrid2.Clear(); MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool bizBscKpiPool = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool(); DataTable dtBscKpiPool = bizBscKpiPool.GetKpiPool_DB("" , "" , "" , 0 , templete_code); UltraWebGrid2.DataSource = dtBscKpiPool; UltraWebGrid2.DataBind(); //lblRowCount.Text = dtBscKpiPool.Rows.Count.ToString(); }
public void SetKpiPoolGrid() { MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool bizBscKpiPool = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool(); DataTable dtBscKpiPool = bizBscKpiPool.GetKpiPool_DB(txtKpiNames.Text.Trim(), PageUtility.GetByValueDropDownList(ddlUseYn3), PageUtility.GetByValueDropDownList(ddlKpiType), DataTypeUtility.GetToInt32(PageUtility.GetByValueDropDownList(ddlKpiVersion)), DataTypeUtility.GetToInt32(PageUtility.GetByValueDropDownList(ddlKpiTemplete)), DataTypeUtility.GetToInt32(PageUtility.GetByValueDropDownList(ddlUpPoint)), DataTypeUtility.GetString(PageUtility.GetByValueDropDownList(ddlKpi))); ugrdKPIPool.Clear(); ugrdKPIPool.DataSource = dtBscKpiPool; ugrdKPIPool.DataBind(); lblRowCount.Text = dtBscKpiPool.Rows.Count.ToString(); }