protected void BindDept() { NPIMgmt oMgmt = new NPIMgmt(lblSite.Text, lblBu.Text); NPI_Standard oStandard = oMgmt.InitialLeaveMgmt(); Model_APPLICATION_PARAM oModel_Param = new Model_APPLICATION_PARAM(); oModel_Param._APPLICATION_NAME = "NPI_REPORT"; oModel_Param._FUNCTION_NAME = "Configuration"; oModel_Param._PARAME_NAME = "SubscribeDept"; oModel_Param._PARAME_ITEM = lblBu.Text.Trim(); oModel_Param._PARAME_VALUE1 = lblBuilding.Text.Trim(); DataTable dt = oStandard.PARAME_GetBasicData_Filter(oModel_Param); BindData(cobDept, dt); }
protected DataTable BindParamer(string ParameName) { NPIMgmt oMgmt = new NPIMgmt(lblSite.Text, lblBu.Text); NPI_Standard oStandard = oMgmt.InitialLeaveMgmt(); Model_APPLICATION_PARAM oModel_Param = new Model_APPLICATION_PARAM(); oModel_Param._APPLICATION_NAME = "NPI_REPORT"; oModel_Param._FUNCTION_NAME = "Configuration"; oModel_Param._PARAME_NAME = ParameName; oModel_Param._PARAME_ITEM = lblBu.Text.Trim(); oModel_Param._PARAME_VALUE1 = lblBuilding.Text.Trim(); DataTable dt = oStandard.PARAME_GetBasicData_Filter(oModel_Param); return(dt); }