Compiler does not like teh word "Provider" in my connectionString
im new to this connecting to databases. i have in my connection string: connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:/db1.mdb";
i get an error during compilation saying " An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: Keyword not supported: 'provider'."
anyone know how to get around it ?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted Apr 16, 2004, 2:21 AM EDT
schmintan63 reputationPosted Apr 16, 2004, 2:52 AM EDT
schmintan63 reputationPosted Apr 16, 2004, 3:20 AM EDT
kovanRank #1,453 · 1.1K reputationPosted Apr 19, 2004, 8:19 AM EDT