Datagrid row

  • Thread starter Thread starter Maarten
  • Start date Start date
M

Maarten

public void updategridrow(int couner, int index)

{

DataOut.Rows[index][1]= couner;

DataGridOut.Refresh();

}

when i do this from the form where the datagrid is on, it works fine

but it wont from an other form

then it says that the row doesnt exist in the table.

????????



Maarten
 
Hi,

you need to be more explicit, are you updating the same datagrid but form a
different form?
does the seocnd form has a reference to the form containing the grid?

cheers,
 
Back
Top