G
Guest
Does a text box whose text property is set to a bindingsource automatically
report text changes back to the binding source then on to the dataset? If not
how can I make it tell the dataset that text in the text box has changed and
to set the row to modified? I have tried this with no luck
formclosing()
this.clientsBindingSource.EndEdit();
if (fB7MobileDBDataSet.HasChanges()) no changes are detected here
{ so this never happens
fB7MobileDBDataSet.GetChanges(DataRowState.Modified);
this.fB7MobileDBDataSet.Clients.AcceptChanges();
this.clientsTableAdapter.Update(this.fB7MobileDBDataSet.Clients);
Thanks Jon Stroh
report text changes back to the binding source then on to the dataset? If not
how can I make it tell the dataset that text in the text box has changed and
to set the row to modified? I have tried this with no luck
formclosing()
this.clientsBindingSource.EndEdit();
if (fB7MobileDBDataSet.HasChanges()) no changes are detected here
{ so this never happens
fB7MobileDBDataSet.GetChanges(DataRowState.Modified);
this.fB7MobileDBDataSet.Clients.AcceptChanges();
this.clientsTableAdapter.Update(this.fB7MobileDBDataSet.Clients);
Thanks Jon Stroh