Esempio n. 1
0
    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();
    }
Esempio n. 2
0
    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();
    }