Problems with constraints, filling the datatables
Posted by: Barnabas Szabo
Date: May 19, 2007 01:55AM

Hi,

I'm a newbie in mysql, and I have the follwing problem with visual studio 2005:
- using visual basic 2005
- The started a application that uses mysql datatables
- opened the connection to my msql schema without any problems
- The dataset is also properly configured, and I can edit them in the dataset deigner without any problems
- The table has 1 primary key and its as NOT NULL
- when I'm filling the tableadapter the first and opening the form, it works perfect
- When I'm closing the form, the dataset is cleared
But when I'm reopening the form in the same debugging a error messeage occurs:
constraintexception was unhandled, failed to enable constraints
I think this happens because of the primary key.

Please somebody help me, I'm really blocked here

Thanks
Barnabás

Options: ReplyQuote


Subject
Written By
Posted
Problems with constraints, filling the datatables
May 19, 2007 01:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.