What are the different row versions available?
Answers were Sorted based on User's Feedback
Answer / swapna
There are four types of Rowversions.
Current:
The current values for the row. This row version does not
exist for rows with a RowState of Deleted.
Default :
The row the default version for the current DataRowState.
For a DataRowState value of Added, Modified or Current, the
default version is Current. For a DataRowState of Deleted,
the version is Original. For a DataRowState value of
Detached, the version is Proposed.
Original:
The row contains its original values.
Proposed:
The proposed values for the row. This row version exists
during an edit operation on a row, or for a row that is not
part of a DataRowCollection.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravindarjobs
have a look at this link
http://msdn2.microsoft.com/en-us/library/ww3k31w0.aspx
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 1647264
There are four types of Rowversions.
Current:
The current values for the row. This row version does not exist for rows with a RowState of Deleted.
Default :
The row the default version for the current DataRowState. For a DataRowState value of Added, Modified or Current, the default version is Current. For a DataRowState of Deleted, the version is Original. For a DataRowState value of Detached, the version is Proposed.
Original:
The row contains its original values.
Proposed:
The proposed values for the row. This row version exists during an edit operation on a row, or for a row that is not part of a DataRowCollection
Is This Answer Correct ? | 0 Yes | 0 No |
Explain acid properties?
How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind();
What is the difference between SqlCommand and SqlCommandBuilder?
What is maximum pool size in ado.net connection string?
What do you mean by performing asynchronous operation using command object?
What is ado asp?
How to get the new oledb connection of oracle in database programming?
WHAT IS DIFF B/W VIEWS AND STORED PROCEDURE
What is the difference in an abstract class and an interface?
Define atomicity?
What is fill method in ado.net?
Sequence to connect and retrieve data from database useig dataset ?