When I bind the dataset to a text box using data binding, the dataset is getting updated when user makes a change on the screen, but the GetChanges() method still returns null. Am I missing something
Thanks
Harinder
{
...
StringReader sr1 = new StringReader(obj);
ds.ReadXml(sr1);
ds.AcceptChanges();
DataTable table = ds.Tables["customer"];
Binding b = new Binding("Text", table, "customerName");
this.textBox1.DataBindings.Add(b);
}
private void button1_Click(object sender, System.EventArgs e)
{
bool hasChanges = ds.HasChanges();
DataSet delta = ds.GetChanges(); //Null even though the dataset output
if(delta != null) //has the changes
delta.WriteXml(Console.Out);
ds.WriteXml(Console.Out);
}

Data set bound to a control getChanges does not show the deltas
cjtaylor
-H
yourself_20052006
Dim cmCustomer as CurrencyManager = DirectCast(BindingContext(table, "customer"), CurrencyManager)
cmCustomer.EndCurrentEdit()
HTH,
-B