Microsoft
Software
Hardware
Network
Question : How do I programmatically create a database in vb.net 2k8, 2k10
I just want to be able to click on a commandbutton or a menu item to make the database from scratch. I do not care what type it is as long as it will run on any pc machine without having other programs installed except the one im creating.
I just need 2 or three tables, one called
family members
ID autoincrement (Key)
Firstname varchar(50)
LastName varchar(50)
FullName varchar(101)
BirthDate date
and one called
Children
ID autoincrementing (key) not for sure if i need this
FirstName varchar(50)
LastName varchar(50)
FullName varchar(101)
BirthDate date
and maybe one called
GrandChildren but if i can see example of how to make the first 2 tables and the database I can code as many as I need. Just tryin to figure out how to associate the tables together.
I been looking for a good example to study as im a beginner in vb.net I was wanting to make this a windows application not a web application. so if you could make me an example and writing it for me lolz holding my hand so to speak.
Please any help will be greatly appreciated.
Answer : How do I programmatically create a database in vb.net 2k8, 2k10
ok, I suggest to embed the database engine inside your code. this way you don't have to install anything extra.
Something like this:
http://www.codeproject.com
/KB/databa
se/dbfdotn
et.aspx
(Embedded DBF engine)
Random Solutions
Excel Application WindowState xlNormal
How to Bind A dataset to the the datagrid in C# windows...it shows the table in the dataset but i cannot bind the dataset to the datagrid..Can any one hepl PLz
Delete Function for single record in ADO has one line returns error
Querying Query Results in VB.NET
How do I take a totals query and update a column in another table?
Uploading image cropping area settings to server side aspx
error opening a website
How to create a copy of table from one database to another(need schema as well)+sql server 2005
MS SQL 2005 case problem
Bypass Save As...