|
Question : How to add a typed TableAdapter object to a form
|
|
If you run the Add New Data Source Wizard in a C# project to create a new DataSet object in your project, you can then drag that object to a form and automatically a typed DataSet, TableAdapter, BindingSource, and BindingNavigator objects will appear on the form as visual objects on the lower part of the design window.
However, if you add a DataSet and TableAdapter objects manually from a C# DLL into your project, and you drag and drop that DataSet onto a form, all the same objects are created with the exception of the typed TableAdapter object. Unfortunatelly that object does not even appear as an object in the toolbox as the other objects created. Why is that? How can I get the typed TableAdapter to be inserted automatically, or at least appear on the toolbox.
|
|
Answer : How to add a typed TableAdapter object to a form
|
|
If you don't get a TableAdapter on the designer, you can still access the control in the code module. I am not sure of what circumstances where this works, unless you are talking about the differences between two distinct operations.
Bob
|
|
|
|