private void QLNS_ChucDanh_Load(object sender, EventArgs e) { dtDSChucDanh = oChucDanh.GetListWithNoEmptyRow(); if (dtDSChucDanh != null) { PrepareDataSource(); EditDtgInterface(); } }
/// <summary> /// Refresh Data Source cho dtg sau moi lan thao tac /// </summary> private void RefreshDataSource() { Business.ChucDanh cd = new Business.ChucDanh(); // khong dung chung oChucDanh duoc ??? dtDSChucDanh = cd.GetListWithNoEmptyRow(); PrepareDataSource(); }