Necesito ayuda, al momento de modificar informacion desde el datagrid me sale el siguiente error:
Referencia de objeto no establecia como instancia de objeto:
mi codigo es el siguiente:
private void button2_Click(object sender, EventArgs e)
{
DataTable dt = ds.Tables["PRODUCTORES"];
this.dataGridView1.BindingContext[dt].EndCurrentEdit();
this.da.Update(dt);