Unix Technical Forum

Can't update table in VS2005 using MySQL

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


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 08:36 AM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com