Hi all,
Visual Studio has a neat server explorer that allows you drage tables
onto a form and then does all the SQL code generation for you.
This works a treat with the Northwind database that is part of the SQL
server install.
However, it fails with my MySQL databses becasue it can't work out what
is the primary key. If I import from MySQL into SQL Server, they tables
come in without primary keys.
So, is there a way to mark the primary key field in mysql or that Visual
Studio .NEt can see it? BTW, Access 2000 can see which is the primary
key so I think this is either a odbc.net problem or a visual studio problem.
Patrick
Visual Studio has a neat server explorer that allows you drage tables
onto a form and then does all the SQL code generation for you.
This works a treat with the Northwind database that is part of the SQL
server install.
However, it fails with my MySQL databses becasue it can't work out what
is the primary key. If I import from MySQL into SQL Server, they tables
come in without primary keys.
So, is there a way to mark the primary key field in mysql or that Visual
Studio .NEt can see it? BTW, Access 2000 can see which is the primary
key so I think this is either a odbc.net problem or a visual studio problem.
Patrick