private void LoadTable() { DadosEntities context = new DadosEntities(); List <tb_aula> list = context.tb_aula.ToList <tb_aula>(); GDVAula.DataSource = list; //GDVAula.DataSource = new AulaDB().FindAll(); GDVAula.DataBind(); }
private void LoadTable() { GDVAula.DataSource = new AulaDB().FindAll(); GDVAula.DataBind(); }