how to select an inserted row ina datagrid?

  • Thread starter Thread starter Juan
  • Start date Start date
J

Juan

Do i have to loop trough a datagrid in order to find and select a row just
being inserted? is there any event i can capture in the datagrid to obtain
the inserted row? I need to obtain its position in the datagrid...

Any help is very welcome.
 
hi juan,

am not able to get your question, what do u mean by inserting a row in a
datagrid.
and r u talking about the datagrid in windows or web.
If am right in saying that inserting a row in a webforms datagrid is none
other than adding a new row to the dataset and rebinding it to the grid.

Might be able to help you better if i can get exactly what you wanted....

Regds,
Kannan.V
 
Thanks Kannan,

I insert the row but afther that i immediately need to select it, the
datagrid doesn´t select the new inserted row by default, it continues to be
at the row it was before the insert... it is a windows form.

Best,
Juan.
 
Back
Top