How to find the Datarow of a datagrid?
Posted on 2004-10-20
I have a datagrid with 4 columns. I need to update a row. For that, I am doing this..
DataRow adrEdit = dsOvertureAccounts.Tables["AllAccountConstraints"].Select("Account='"+dgAllAccountConstraints.DataKeys[e.Item.ItemIndex] + "'");
This is returning an array of datarows. But how do I find out which row to update??
Any suggestions appreciated!!