Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How add a database in windows application using VB?

user-image
Question ajoutée par Rezwan Ahmed , Junior Accountant , DAKQP
Date de publication: 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
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?