473,473 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

RowState and DataRowVersion

I am bit confused about these properties.

First, has each DataRowVersion its own RowState, or is there one RowState
per Row. I think it should be the latter but I am not sure.

Second I do not understand the text below explaining what de default value
of DataRowVersion should mean. My confusion is: If the Row is editted should
not the RowState Modified, and then the default version should be Current.
Nevertheless the text says the default version should be Proposed. This
seems paradoxal to me, or perhaps the RowState is not Modified if you change
it? That seems really strange also.

Jul 23 '08 #1
1 2717
Hi,
ADO.NET manages rows in tables using row states and versions. A row
state indicates the status of a row. Row versions maintain the values
stored in a row as it is modified including current, original, and
default values. For example, after you have made a modification to a
column in a row, the row will have a row state of Modified, and two
row versions will exist: Current, which contains the current row
values, and Original, which contains the row values before the column
was modified

reference : http://msdn.microsoft.com/en-us/libr...w0(VS.71).aspx

BEST OF LUCK

--------------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com
Jul 23 '08 #2

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

Similar topics

2
by: Murray Foxcroft | last post by:
I'm attempting to retrieve specific versions of a row's column in C++ (this works fine in C# - apart from the syntax) // by column number row->Item->ToString(); // or column name...
5
by: Albert | last post by:
Does anyone know if it is possible to get information out of a datarow which has been deleted? Thanks, Albert
6
by: astro | last post by:
I'm working through the binder stuff trying to get a handle on it... I have setup a master-detail dataset and have a couple of textboxes from the master along with a datadgrid for the child data....
6
by: JohnR | last post by:
I have a table with 1 row which is used to hold some application wide items (one item per field, hence I only need 1 row). I want to bind one of the fields to a textbox. After setting up the...
6
by: timbobd | last post by:
I have a Windows form that displays a database table in a DataGrid. When you click on a row, the row's values get copied to bound TextBoxes below, and when the "Save" button is clicked the database...
0
by: Jarod | last post by:
Hey I have GridViewEventArgs e. And this e.Row.RowState returns current state. I woudl like to check if e.Row.Rowstate == ...Edit; But the problem is sometimes Rowstate is something like this :...
13
by: Dale Harris | last post by:
I'm getting really strange behaviour where the data source RowState is not being updated to modified in some circumstances. I place my controls on a form, bind them through a BindingSource control...
3
by: perspolis | last post by:
Hi all I have a master detail table which I use them in Transaction to Update them. in some cases the detail table generates error and I Rollback transaction but RowState of master table dosen't...
5
by: alokmishra2003 | last post by:
I am using a grid, in which dynamically creating some columns and rows and EDIT buttons. While Updating the rows I am comparing DataRowVersion.Original and DataRowVersion.Current . Its working...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.