ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How add a database in windows application using VB?

user-image
تم إضافة السؤال من قبل Rezwan Ahmed , Junior Accountant , DAKQP
تاريخ النشر: 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
من قبل 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

المزيد من الأسئلة المماثلة