You may want to start off with the DataBoundItem property of the
DataGridViewRow and cast that to a DataRow or to the row of the typed dataset
if you are using one. With the datarow on hand you can work off from that to
decipher the row #
Hope this helps
Thanks
"Bishman" wrote:
Hi,
Simple question.... I think....
How can I establish the TableRow index that a particular DataGridViewRow is
bound to ?
You may want to start with getting the DataBoundItem of the DataGridViewItem,
then cast it to a DataRow or a row of the TypeDataSet if you are using one.
Then work off from your DataRow to get the index.
Hope this helps
Thanks
"Bishman" wrote:
Hi,
Simple question.... I think....
How can I establish the TableRow index that a particular DataGridViewRow is
bound to ?
Jon.
"MMA" <MM*@discussions.microsoft.comwrote in message
news:C1**********************************@microsof t.com...
You may want to start with getting the DataBoundItem of the
DataGridViewItem,
then cast it to a DataRow or a row of the TypeDataSet if you are using
one.
Then work off from your DataRow to get the index.
Hope this helps
Thanks
"Bishman" wrote:
>Hi,
Simple question.... I think....
How can I establish the TableRow index that a particular DataGridViewRow is bound to ?