I want to interpret an access database in asp.net c #, but I get this problem

-2

I have a project that is ASP.NET but when I run it I get this warning:

Here is my code

Here is all the code that executes the if

    
asked by John 15.11.2017 в 22:15
source

1 answer

1

I think the problem is because you need to put simple quotes around the path to your file mdb .

connectionString: "Provider = ...; DataSource='c:/.../archivo.mdb'"
    
answered by 15.11.2017 в 22:29