getchanges

why GetChanges returns something (when bound to a property) even if there are no changes on datatable?

Bound GetChanges always returns something when bound to a usercontrol's property (even on a simple one) i have made a usercontrol, for some reason unknownst to me, when i bound a datacolumn to my control's property the dataSet1.GetChanges() always return something, even the column bound to my control was not changed. what's the possibl...

Is this a bug in DataTable API? Changes are stored/executed in the "wrong sequence"

Edit: any comments whether you think this is a .NET bug or not would be appreciated. I have a bug which I've managed to simplify to the following scenario: I have a DataTable where the primary keys must be kept consecutive, e.g. if you insert a row between other rows, you must first increment the ID of the succeeding rows to make space...

Get DataSet in RowCommand event/Get modified rows in RowCommand

Hi, I am trying to get the dataset in RowCommand event. Like this DataTable dt = (DataTable)(gvImages.DataSource); DataTable dtChanges = dt.GetChanges(DataRowState.Modified); But i am getting my dataTable NULL. Can any one help me to find the modified rows in RowCommand event??? ...

Dataadapter update performance - do I need to use datatable.Getchanges?

This is a simple question, but I'm having trouble finding the answer. I have a large datatable of which I have updated many, but not all rows. I am using a dataadapter to update these changes to SQL server. Does the dataadapter send update queries only for the updated rows from the datatable, or does it send one for every row, and esc...