rp
asked on
vb.net ado.net know first value of table rows
I have a table but i need modify/delete some times each row value, how can know the value originally in each row.
can u elaborate the question?what do u mean by "how can know the value originally in each row"?
For a datatable in .net: Getting Specific Versions of a Row
http://msdn.microsoft.com/en-us/library/7kd9zhee(vs.71).aspx
http://msdn.microsoft.com/en-us/library/7kd9zhee(vs.71).aspx
ASKER
for ex i load a row from sql table:
credit=500
after credit row can have many values like 200/, 39, ....
and last i need to know the first value in row, in this case 500
credit=500
after credit row can have many values like 200/, 39, ....
and last i need to know the first value in row, in this case 500
So you want the first row of the data you retrieve ?
DataTable.Rows(0)
DataTable.Rows(0)
ASKER
no, my example consider is ever the same row. if same row change value, i need know original value in this ex. 500
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can get the DataRowVersion.Original at any time, even after is changed.