Sathya Narayan

Sathya Narayan

  • NA
  • 155
  • 65.2k

Connection String SqlOledb

Apr 7 2014 6:52 AM
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??

Answers (2)