示例#1
0
 public frmTinhHinh()
 {
     InitializeComponent();
     DataLibrary.DTO.TuyenDungModels dbContext = new DataLibrary.DTO.TuyenDungModels();
     // Call the Load method to get the data for the given DbSet from the database.
     dbContext.tbl_ThuViec.Load();
     // This line of code is generated by Data Source Configuration Wizard
     tbl_ThuViecBindingSource.DataSource = dbContext.tbl_ThuViec.Local.ToBindingList();
 }
示例#2
0
 public frmCapNhapKQPV()
 {
     InitializeComponent();
     // This line of code is generated by Data Source Configuration Wizard
     // Instantiate a new DBContext
     DataLibrary.DTO.TuyenDungModels dbContext = new DataLibrary.DTO.TuyenDungModels();
     // Call the Load method to get the data for the given DbSet from the database.
     dbContext.tbl_HoSoPV.Load();
     // This line of code is generated by Data Source Configuration Wizard
     tbl_HoSoPVBindingSource.DataSource = dbContext.tbl_HoSoPV.Local.ToBindingList();
 }