|
-
Apr 6th, 2005, 06:54 AM
#1
Thread Starter
Addicted Member
Connection String
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
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Apr 6th, 2005, 07:01 AM
#2
Re: Connection String
VB Code:
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbPath & _
"\db.mdb;User ID=admin;Password=YourPWD"
-
Apr 6th, 2005, 07:05 AM
#3
Lively Member
Re: Connection String
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
^ ^
(*)(*)
-
Apr 6th, 2005, 07:07 AM
#4
Thread Starter
Addicted Member
Re: Connection String
not working
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Apr 6th, 2005, 07:10 AM
#5
Thread Starter
Addicted Member
Re: Connection String
i know, i did set the password but the connection string is not working
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Apr 6th, 2005, 07:51 AM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|