public void Mostrar_Prestamos() { PrestamosL prestamosla = new PrestamosL(); dgvPrestamos.DataSource = prestamosla.Mostrar_Prestamos(); dgvPrestamos.Columns[0].Width = 30; dgvPrestamos.Columns[1].Width = 150; dgvPrestamos.Columns[2].Width = 150; dgvPrestamos.Columns[3].Width = 150; dgvPrestamos.Columns[4].Width = 150; dgvPrestamos.Columns[5].Width = 100; dgvPrestamos.Columns[6].Width = 100; }
public void Mostrar_Prestamos_Computadora() { PrestamosL prestamosla = new PrestamosL(); dgvPrestamosComputadora.DataSource = prestamosla.Mostrar_Prestamos_Computadora(); }