Recognize Changes to DataSet

  • Thread starter Thread starter Larry Stewart
  • Start date Start date
L

Larry Stewart

I am using VS.NET 2003 and I have a simple WinForm that
uses a SQLConnection, SQLAdapter, and a DataSet.

I am binding the DataSet values to TextBoxes ( I don't
want a grid for this situation).

The problem is that I can not get the dataSet to
recognize the user has changed a textbox field without
going to a different row.

If you are only displaying a single row of a dataSet,
what is the easiest way to ensure the SQLAdapter
recognizes the data has changed?

I am guessing it has something to do with the EndEdit
method but I can't get it to work.

Larry
 
I think it should be something similar to the following:

this.BindingContext[dataSet11,"authors"].EndCurrentEdit();
 
Back
Top