hi,
If i am going to connect the sql connection string. i am getting the connection string error that is an error occurred creating the form. See Exception.InnerException for details. The error is: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.This is my connection string
Dim FillcbDoctor_constr As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\Reception\Desktop\Hospital Management\Destinationd\DB\HosDB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
May any one help me??
Loading

Munesh SharmaPosted Apr 7, 2014, 1:10 PM
Jayant KumarPosted Apr 7, 2014, 7:05 AM
Server=.\SQLExpress;AttachDbFilename=C:\MyFolder\MyDataFile.mdf;Database=dbname;
Trusted_Connection=Yes;
look at the following reference:
https://www.connectionstrings.com/sql-server/