protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { //binding force tbbm cmbTBBM.DataSource = MasterDataEntity.GetMasterDataTBBM(CommonDataModel.ActiveType.Active); cmbTBBM.DataBind(); //binding force combobox cmbForce.DataSource = MasterDataEntity.GetMasterDataForce(); cmbForce.DataBind(); //binding unity combobox cmbUnity.DataSource = MasterDataEntity.GetMasterDataUnity(); cmbUnity.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { //binding force tbbm cmbTBBM.DataSource = MasterDataEntity.GetMasterDataTBBM(CommonDataModel.ActiveType.Active); cmbTBBM.DataBind(); //binding force combobox cmbForce.DataSource = MasterDataEntity.GetMasterDataForce(); cmbForce.DataBind(); //binding unity combobox cmbUnity.DataSource = MasterDataEntity.GetMasterDataUnity(); cmbUnity.DataBind(); //Report.xReportOAT report = new FrancoHandling_App.Report.xReportOAT(); //docViewer.OpenReport(report); } }
protected void gv_DataBinding(object sender, EventArgs e) { gv.DataSource = MasterDataEntity.GetMasterDataTBBM(CommonDataModel.ActiveType.Active); }