>>Hi all, I need a bit of help understanding why a call to Dataset.Haschanges() returns false. I have a form with several textboxes bound to a Dataset. I create the bindings thus:
>>
>>this.txtFirstName.DataBindings.Add("Text",this.dsNames,"AFieldName");
>>
>>
>>and so on for the other textboxes. Here is the Gotcha !, if I manually change any of the textboxes values by typing , the call to "HasChanges()" correctly returns true, But ! , if I set the values in code e.g.
>>
>>this..txtFirstName.Text = "";
>>
>>
>> the call to "HasChanges()" returns false. Any ideas ?
>
>Pete,
>
>A quick google returned this
http://geek-goddess-bonnie.blogspot.be/2009/09/fun-with-datasets.htmlThanks Gregory, I was clearly using the wrong search term :-(
Regards,
Peter J. Kane
Pete