(Again, disclaiming that my knowledge is based only on working with the webcontrol datagrid...)
The datagrid control contains an event for selecting, editing, updating, deleting rows. The signature for that event has an event arg object that contains an Item object which corresponds to the datagrid row item that you are performing the operation on. You can get the index of that item (...Item.ItemIndex), but in most cases you just care about what's actually IN the item (i.e. the cells/columns of the datagrid). With that, you can extract the particular bits of data you need to perform the designated operation.
Peter
------------------------------------------------------
Work smarter, not harder.
|