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.Ta bles(0).Rows.Fi nd(SearchValues ).RowId
When I try to assign the value to a variable declared as
integer I get the following error.
ex: iRowID = DataSetName.Tab les(0).Rows.Fin d
(SearchValues). RowId
'System.Data.Da taRow.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!
any success.
When in the immediate window I can look at the rowid
value, ex:
?DataSetName.Ta bles(0).Rows.Fi nd(SearchValues ).RowId
When I try to assign the value to a variable declared as
integer I get the following error.
ex: iRowID = DataSetName.Tab les(0).Rows.Fin d
(SearchValues). RowId
'System.Data.Da taRow.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!