
what create table using ADO.NET to VB.NET
Quote:
> I want to create in SQL two tables and relations on VB.NET by means of code
Run the sql server console.
Create the two tables as you want them.
Add the relations or whatever you want.
Select the two tables and create the script for them - make sure you
tick everything you'll be needing.
Take a look at the script you have.
You want to execute this.
Look up ado and execute if you're thinking execute?
Somewhere along the way you'll perhaps want to drop the relationships
and tables.