Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42215

Missing TableAdaptor Manager

$
0
0
I have been designing a number of dialog boxes with data grids and they were all working.

The original data comes from Visual FoxPro and I have been using the intigration service to convert the database.

I have done this a few time before and it did not cause a problem.

This time when I go into the dialogs that contain these data grids, a message flashes and the dialog is converted to an empty dialog - the code is still there but the dialog design is missing.

I thoght I could start from scratch and redo the dialog as it's not too complex. I have added the DataGrid and it bound to the data.

There is a LocalDataSet, BingingSource & TableAdaptor.

I did not want a BindingNavigator as I wanted to have my own 'save' button.

I am trying to recreate the original code - shown below:
Private Sub OfficesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.Validate()
Me.OfficesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.MISLocalDataSet)
End Sub

The dataset is 'Offices'. I don't thave an OfficesBindingNavigator or a TableAdapterManager.

Can you advise what is missing?
Thanks.

Viewing all articles
Browse latest Browse all 42215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>