private void frmCliente_Load(object sender, EventArgs e) { Lista = TbClienteDAO.SelectAll(); TbClientebindingSource.DataSource = Lista; this.dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; }
public static List <TbClienteBE> SelectAll() { return(TbClienteDAO.SelectAll()); }