I am using SQL Server to store information in my program. How can I access the database and load up some variables into variables?
I have this section of the code already:
Dim conn As New System.Data.SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Payroll.mdf;Integrated Security=True;User Instance=True")
Thank you very much in advance