473,473 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to retrieve the original values of a data table

Hi,

I believe a dataset keeps a record of the original values
of all rows before AcceptChanges() is called. Then how
can I retrieve the original values? What function call
do I use?

Thanks!
Jul 21 '05 #1
2 1629
You might be able to use the hasversion method of the datarowview

(myTable.Rows(0)("col1", DataRowVersion.Original).ToString())
"Nick" <yk****@usc.edu> wrote in message
news:08****************************@phx.gbl...
Hi,

I believe a dataset keeps a record of the original values
of all rows before AcceptChanges() is called. Then how
can I retrieve the original values? What function call
do I use?

Thanks!

Jul 21 '05 #2
Hi

You can retrieve the original values of the data before
calling AcceptChanges method using DataRowVersion
enumeration.

The following link may be helpful to you
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/vbcon/html/vbtskgettingspecificversionsofrow.asp

-Gopi

-----Original Message-----
You might be able to use the hasversion method of the datarowview
(myTable.Rows(0)("col1", DataRowVersion.Original).ToString())

"Nick" <yk****@usc.edu> wrote in message
news:08****************************@phx.gbl...
Hi,

I believe a dataset keeps a record of the original values of all rows before AcceptChanges() is called. Then how
can I retrieve the original values? What function call
do I use?

Thanks!

.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thomas | last post by:
Hi, I used xsd.exe to generate a *.xsd file from the *.xml-File and then I created a typed DataSet in VisualStudio 2003 But now I have problems to read the data from the DataSet. <?xml...
31
by: One Handed Man \( OHM - Terry Burns \) | last post by:
My Brain is dead !!!!! I modify a single row in a DataTable By setting the FirstName column in a specific row to another name. ( Without Accepting Changes ). However, this statement still...
2
by: Nick | last post by:
Hi, I believe a dataset keeps a record of the original values of all rows before AcceptChanges() is called. Then how can I retrieve the original values? What function call do I use? Thanks!
4
by: TechnoAtif | last post by:
Hi ALL I have entered some array values using checkboxes into mysql database through a form. Next iam creating a searchpage where all those cateogories inserted through checkboxes has to be...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.