|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem with BindingSource and saving ...I created simple forms with wizard. From a DataSources I dragged table to
form. VB GDI created DataSet, BindingSource and BindingNavigator controls. I code, I have for Save Button: Me.Validate() Me.DicInvSymBindingSource.EndEdit() Me.DicInvSymTableAdapter.Update(Me.AfbDbDataSet.DicInvSym) It run very good but when I stopping application and run it again (button F5) I don't have added records. Records didn't save to disk. Yen Yen,
Could it be that you are actually updating a copy of your database? See: http://msdn2.microsoft.com/en-us/library/ms246989.aspx Kerry Moorman Show quote "Yen" wrote: > I created simple forms with wizard. From a DataSources I dragged table to > form. VB GDI created DataSet, BindingSource and BindingNavigator controls. I > code, I have for Save Button: > > Me.Validate() > Me.DicInvSymBindingSource.EndEdit() > Me.DicInvSymTableAdapter.Update(Me.AfbDbDataSet.DicInvSym) > > It run very good but when I stopping application and run it again (button > F5) I don't have added records. Records didn't save to disk. > > Yen > > > >
Other interesting topics
|
|||||||||||||||||||||||