By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,871 Members | 2,418 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,871 IT Pros & Developers. It's quick & easy.

rowid

P: n/a
I am trying to retrieve the rowid from a datatable without
any success.

When in the immediate window I can look at the rowid
value, ex:
?DataSetName.Tables(0).Rows.Find(SearchValues).Row Id

When I try to assign the value to a variable declared as
integer I get the following error.

ex: iRowID = DataSetName.Tables(0).Rows.Find
(SearchValues).RowId

'System.Data.DataRow.rowID' is not accessible in this
context because it is 'Private'

Is it possible to assign the rowid to a variable?

Please advise.

Thanks in advance!
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.