Can't update table in VS2005 using MySQL

This is a discussion on Can't update table in VS2005 using MySQL within the MySQL Database forums, part of the Database Forums category; Hello everybody. I use VS2005 and I was trying to make a little program able to connect to a MySQL ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2006
Bob
 
Posts: n/a
Default Can't update table in VS2005 using MySQL

Hello everybody.
I use VS2005 and I was trying to make a little program able to connect
to a MySQL 5.0.18 database through MyODBC 3.51.12. I can connect to the
database and I can load a table in the Datagridview control, but I can't
update the table: the wizard didn't generate the Update method. Even if
I configure again the tableAdapter, the wizard generates only:
SELECT statement
table mappings
Fill method
Get method
The table is a very simple table: it has 3 columns and the first is a
primary key.

If I create an identical table using Access database and make a program
that connects through ODBC, I don't have the problem: the wizard
generates also the UPDATE, INSERT and DELETE statements.

Where is the difference? What is the problem?
Maybe MyODBC doesn't support updating a table? (It can't be true!)

Thankyou so much for the help


Roberto
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0