Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How add a database in windows application using VB?

user-image
Question added by Rezwan Ahmed , Junior Accountant , DAKQP
Date Posted: 2014/03/13

there is tow ways to do this in windows applications(1)Creating the database inside the visual studio application and automaticlly will be inserted in the application files but the desadvantage using this method is that you can't use stored procedure or functions or views because the database extension will be (.mdf) and doesnt have the required scoop in development method (2)Creating the database using SQL Server Studio and its scoop of using sql sp and functions and other advantages is perfectnote: in the both ways you should provide the database connection string in the vb project example: Data Source=.\\sqlx;Initial Catalog=DatabaseName;Integrated Security=True;Pooling=Falseand its the database url so the application will find the database to operate itits prefered to place the connection string in the Configration file.Good luck;Regards Odai Al-Labadi

Hajjaj Jamal Ali Al Hajjaji
by Hajjaj Jamal Ali Al Hajjaji , Software Engineer , INC Technologies

Its pretty easy to add it just follw the link belw http://m.youtube.com/watch?v=ejJLQE9IU-o

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.