Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is this correct format?

VB
Dim strConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;data source=" & System.Web.HttpContext.Current.Server.MapPath("test.mdb")
Posted
Updated 16-Aug-11 22:53pm
v3
Comments
LittleYellowBird 17-Aug-11 4:50am    
A single question mark is all that is required, more just looks silly. :)
rajah rajah 17-Aug-11 5:43am    
correct it in future

What problem you face?
You may try to specify user id and password.
http://www.connectionstrings.com/access[^]
 
Share this answer
 
take a look here[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900