예제 #1
0
    private void SetKpiSignalMaster()
    {
        MicroBSC.BSC.Biz.Biz_Bsc_Threshold_Code objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Threshold_Code();
        DataSet rDs = objBSC.GetThresholdCodeList("");

        grvSignal.DataSource = rDs.Tables[0].DefaultView;
        grvSignal.DataBind();
    }
예제 #2
0
    private void SetKpiSignalMaster()
    {
        MicroBSC.BSC.Biz.Biz_Bsc_Threshold_Code objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Threshold_Code();
        DataTable dt = objBSC.GetThresholdCodeList("").Tables[0];

        foreach (DataRow dr in dt.Rows)
        {
            dr["IMAGE_FILE_NAME"] = string.Format("../images/org/signal_set{0}/{1}", WebUtility.GetConfig("DTree.SignalSet"), dr["IMAGE_FILE_NAME"]);
        }

        grvSignal.DataSource = dt;
        grvSignal.DataBind();
    }