I have a project that I moved from VB 2005 to VB 2008.
I have a form with mulitple textboxes, comboboxes and datepickers.
This form is a record editor for a table in my SQL 2000 database.
I have a few controls that have Validation events using the ErrorProvider control.
I click a ToolStripButton to save the data.
The problem is this:
If I change a value in a combobox, textbox, or datepicker, those values get reset back to their original values when I call my save event.
IN my save event I call the ValidateChildren in order to catch any missed validations.
If I comment out the ValidateChildren the change values keep but I need to Validate all of the controls before the information is saved back to the SQL table.