if i use password in connection string it gives error. this is wat am using
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbPath & "\db.mdb;Persist Security Info=False"
how do write password in it
Printable View
if i use password in connection string it gives error. this is wat am using
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbPath & "\db.mdb;Persist Security Info=False"
how do write password in it
VB Code:
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbPath & _ "\db.mdb;User ID=admin;Password=YourPWD"
first of all u should set a password to ur database. without set a password to ur db u can't use password in ur connection string.
regards
Rajesh
^ ^
(*)(*)
not working :blush:
i know, i did set the password but the connection string is not working
I hope this would be of help to you...
http://www.codeguru.com/forum/showth...threadid=27393