Provider field in connection string oledb
问题 Hey guys I'm new to C# and I'm a little confused on the fields that need to be provided in the connection string while using oledb to connect to my sql server 2008 database, particularly one of them. The "Provider" field is really giving me problems, partially because I'm not really sure what it does. I have tried two different Provider strings and they both come back with the same error: The "System.Data.SqlClient provider is not registered on the local machine Or The "Microsoft.Jet.OLEDB.4