Connect to access vi VS
Hello,
I am having problem to connect to access via VS.
I have wrote:
string path = HttpContext.Current.Server.MapPath("App_Data/");
path += "Database1.accdb";
string connString = "Provider=Microsoft.ACE.OLEDB.12.0;";
connString+= "Data Source="+path+";Persist Security Info=False;";
SqlConnection conn = new SqlConnection(connString);
and have a problem with the word privider.
Can you help?
thnk
1 answer
What is the problem? Are there any error messages? Please update your question. Thanks!