BraveHeart,
What I normally do is add a new Component (Project - Add Component) to my
project.
Using the visual designer of the Component you can then drag the Connection,
Command, and DataAdapter objects that I want to it from the Toolbox.
Alternatively you can drag & drop items from the Server Explorer. You can
set properties of these with the properties window.
Then from the Code Behind I add any methods that I want exposed via the
Component.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.