Link to home
Start Free TrialLog in
Avatar of Declan Basile
Declan BasileFlag for United States of America

asked on

Where can I see the code for TableAdapterManager.UpdateAll?

I'm using Visual Studio 2015 RC.  I have dragged a dataset onto a form which created a DataGridView control bound to the dataset.  I noticed that Visual Studio put (among other things) a "Binding Navigator" control on the form and that its "BindingNavigatorSaveItem" button's OnClick event has a line of code that reads "Me.TableAdapterManager.UpdateAll(Me.ALTEKDataSet)".  I don't see any events button in the properties of the "TableAdapterManager" control.  Where can I go to see the code that Visual Studio created for this "UpdateAll" method of the "TableAdapterManager" control?  I want to understand how the program updates the SQL Server database.
Avatar of Randy Downs
Randy Downs
Flag of United States of America image

Maybe this will help.

TableAdapterManager may be used if you need update tables in one transaction. If it is not important you may do updates without TableAdapterManager.
ASKER CERTIFIED SOLUTION
Avatar of louisfr
louisfr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Declan Basile

ASKER

That's great.  It's exactly what I needed.  Thanks.