private void TablasProductos_Load(object sender, EventArgs e) { try { dataGridView1.DataSource = BD.GetProducto(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }