public List <Jurado> Get() { JuradoBo bo = new JuradoBo(); IList <Festival.or.Jurado> lista = bo.Listar(); juri = lista.ToList(); return(juri); }
public ListaJuri() { InitializeComponent(); JuradoBo bo = new JuradoBo(); Jurado j = new Jurado(); IList <Festival.or.Jurado> lista = bo.Listar(); gridControl.RefreshDataSource(); this.bindingSource.Clear(); bindingSource.DataSource = lista; this.bindingSource.ResetBindings(true); gridControl.Refresh(); }