Hello All!
I am doing my Project on .NET, i want the code for connecting to the database during runtime. I am now currently using the DataAdapters(mainly SQL). Please provide the code at the earliestUse a Connection object of the appropriate type for the database you're using.
For SQL Server:
Dim cnxWhatever As New SqlConnection("connection string goes here")
cnxWhatever.Open()
I am doing my Project on .NET, i want the code for connecting to the database during runtime. I am now currently using the DataAdapters(mainly SQL). Please provide the code at the earliestUse a Connection object of the appropriate type for the database you're using.
For SQL Server:
Dim cnxWhatever As New SqlConnection("connection string goes here")
cnxWhatever.Open()