Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Programming languages > Problem regenerating updatecommand
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 11th October 00:13
sambathraj
External User
 
Posts: 1
Default Problem regenerating updatecommand



Hi,
Best way to do this to have two different data adapters for each data set.
Regards,
Sambathraj
  Reply With Quote


  sponsored links


2 11th October 00:18
maurice mertens
External User
 
Posts: 1
Default Problem regenerating updatecommand



Hi Sambathraj,

this would mean I have to declare a new dataadapter for each dataset I use
on my form. Is this what Microsoft has in mind? It looks to me it should be
possible to use just 1 dataadapter which handles all datasets.

I did some research and found out that a builder only generates the
updatecommand when the current updatecommand of the dataadapter is null. If
there's already an updatecommand (which is in my case) the current
updatecommand is used.
  Reply With Quote
3 11th October 00:22
william bill vaughn
External User
 
Posts: 1
Default Problem regenerating updatecommand


MS designed the DataAdapter to deal with a single table. That's one reason
(IMHO) that they are introducing the TableAdapter in V2.0.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
http://www.betav.com/blog/billva
http://www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666