Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update command problem

Status
Not open for further replies.

anubis7000

Programmer
Apr 27, 2006
19
US
Hi,

I am using visual studio 2005 to build a form that is connected to a mysql backend.

I am able to bind datagrids and text boxes to the database, however, if I add a new record in the form, the data is not saved.

I have read that I can use the dataadapter.update method to save changes, however, I get an error stating that the update method is not supported.

When I use the tableadapter configuration wizard, I am unable to select the “refresh data table” under advanced options under “Enter an SQL statement” or select “create methods to send updates directly to database” under “choose methods to generate” and under ”wizard results” update and delete methods are not displayed.

Also, if I try to set the “generatedbdirectmethods” to true I get an error message.

Is this an ODBC driver issue? thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top