Well I dont know many abouot DataGrid in Windows forms, but it could be simillar, yes?
So there would be probably some method to catch doubleClisk on DataGrid row.
So you may catch some DataGridEvents event.
Try something like this:
Item item = (Item) event.Items.FindControl("someID");
For example if you have TextBox there and want to work with it:
TextBox tBox = (TextBox) event.Items.FindControl("myTextBoxID");
or
TextBox tBox = (TextBox) event.Items.Cells[index_in_grid].FindControl("myTextBox");
Let me know if this could help.
Zdenek.
Hi Sakalicek,
unfortunatly datagrid in web applications and in windows applications have not the same properties, methods, events.
By now, the simplest way to do what i want is to catch the double-click event on a single datagrid row, so I can pass a value (as a parameter) to a new form that I'll use for update operations...
Can you help me?
Thank you,
Andrea