• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 353
  • Last Modified:

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.
0
rflorencio
Asked:
rflorencio
  • 3
  • 3
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
can u elaborate the question?what do u mean by "how can know the value originally in each row"?
0
 
DhaestCommented:
For a datatable in .net: Getting Specific Versions of a Row
http://msdn.microsoft.com/en-us/library/7kd9zhee(vs.71).aspx
0
 
rflorencioAuthor Commented:
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
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
DhaestCommented:
So you want the first row of the data you retrieve ?

DataTable.Rows(0)
0
 
rflorencioAuthor Commented:
no, my example consider is ever the same row. if same row change value, i need know original value in this ex. 500
0
 
DhaestCommented:
See the link I provided earlier ...

For a datatable in .net: Getting Specific Versions of a Row
http://msdn.microsoft.com/en-us/library/7kd9zhee(vs.71).aspx
0
 
rflorencioAuthor Commented:
I can get the DataRowVersion.Original at any time, even after is changed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now