Link to home
Start Free TrialLog in
Avatar of etakasaki
etakasaki

asked on

How do I use SQLCommandBuilder when Vs2005 generates a TableAdapter, not a DataAdapter?

There is some kind of a bug where occasionally, VS2005 will not automatically generate an update and delete statement when creating datasources at design time. VS2005 uses tableAdapters, not DataAdapters and the constuctor for SQLCommandBuilder only takes a DataAdapter as its parameter. How can I generate the proper Update command in code if possible?

Thank you,

ASKER CERTIFIED SOLUTION
Avatar of anyoneis
anyoneis
Flag of United States of America image

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