public void cargaconceptos() { DAO.FacturasDAO facturasdao = new EquimarFac.DAO.FacturasDAO(); facturasdao.IDFactura = int.Parse(dataGridView1.CurrentRow.Cells["ID"].Value.ToString()); dataGridView2.DataSource = facturasdao.devuelveserviciosf(); }
public void actualizagrid() { DAO.FacturasDAO facturasdao = new EquimarFac.DAO.FacturasDAO(); facturasdao.IDFactura = int.Parse(lbl_idfactura.Text); dataGridView1.DataSource = facturasdao.devuelveserviciosf(); }