"John" <(E-Mail Removed)> wrote in
news:#Z#(E-Mail Removed):
> Hi
>
> I have configured a data source and strongly types dataset in my
> winfrom app. I dragged one of the tables to my form. All I see on my
> form and in dataset are tableadapters. Is there a way to use
> dataadapter via code in vs2008? A short code example would be much
> appreciated. The reason I want to use dataadapter instead of
> tableadapter is that I need to change the select command at runtime.
If the drag and drop goodness is what you want, but you also want
something it does not give you, then code it in. In this case, it should
be as simple as exposing the underlying select query, as a table adapter
sits on top of the DataAdapter class.
http://weblogs.asp.net/dwahlin/archi.../31/Enhancing-
TableAdapters.aspx
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************