Click here to Skip to main content
15,895,656 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
what is the best way for connect and programming sql database (local database file on pc )with vb.net winform application?
Posted
Comments
Foothill 31-Oct-13 17:16pm    
What kind of database? If it is MS SQL Server, using System.Data.SqlClient makes it pretty easy.
Mr.TMG 31-Oct-13 22:58pm    
I'd say that the best way is to use the database tools that are provided in the VB Suites (Every edition) as A databse can easily be imported to provide you with all the data sets, data tables and adapters that you need to do just about everything. If you don't have the slightest clue where to start--As I was at one time-- I can try to find a good video or possible make one that simplifies and explains the process.
Just say the word.

1 solution

It does not matter System.Windows.Forms or not. You can use ADO.NET:
http://en.wikipedia.org/wiki/Ado.net[^],
http://msdn.microsoft.com/en-us/library/aa286484.aspx[^].

This short, clear, informative well-written CodeProject article will help you to get started pretty soon: Using ADO.NET for beginners[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900