public FrmAdminTerreno() { InitializeComponent(); this.dbContext = new DBcsurEntities(); /* * dbContext.FASE.Load(); * dbContext.MANZANO.Load(); * dbContext.LOTE.Load(); */ xtraTabFase.PageVisible = false; xtraTabManzano.PageVisible = false; xtraTabLote.PageVisible = false; //Csur.Datos.DBcsurEntities dbContext = new Csur.Datos.DBcsurEntities(); // Call the Load method to get the data for the given DbSet from the database. //dbContext.FASE.Load(); this.dbContext.FASE.Load(); // This line of code is generated by Data Source Configuration Wizard fASEBindingSource.DataSource = dbContext.FASE.Local.ToBindingList(); // This line of code is generated by Data Source Configuration Wizard // Instantiate a new DBContext //Csur.Datos.DBcsurEntities dbContext = new Csur.Datos.DBcsurEntities(); // Call the Load method to get the data for the given DbSet from the database. dbContext.MANZANO.Load(); // This line of code is generated by Data Source Configuration Wizard mANZANOBindingSource.DataSource = dbContext.MANZANO.Local.ToBindingList(); // This line of code is generated by Data Source Configuration Wizard // Instantiate a new DBContext //Csur.Datos.DBcsurEntities dbContext = new Csur.Datos.DBcsurEntities(); // Call the Load method to get the data for the given DbSet from the database. dbContext.LOTE.Load(); // This line of code is generated by Data Source Configuration Wizard lOTEBindingSource.DataSource = dbContext.LOTE.Local.ToBindingList(); }