How to connect Database | #Service-based or Local | Visual Studio 2019 |

preview_player
Показать описание
Hello viewers
This works as Header file for Sql commands , function, methods etc

01:12 I have declared one public variable of datatype string which contains the connection string of Database
I have declared it globally because the variable would be much easier to use in program instead of 20-30 letters of string.

01:38 I have declared an object named as (con) of sqlconnection globally because it will give more flexibility to whole program reduce the lines of codes and etc.

We will see in near future what does all above means.

If you need any project related help fell free to contact me

Till then be safe
peace ✌️✌️
Thanks for watching
Рекомендации по теме
Комментарии
Автор

Hi, thank you for the tutorial. Does this require an SQL Server Service running on the machine or it is totally independent ?

SonicVisualGR