how do i provide userid n password to logon to a database for SQLClient
Printable View
how do i provide userid n password to logon to a database for SQLClient
It should be part of your connection string.
Code:Dim conn As New SQLConnection("server=SomeHostMachine;UID=xxxx;PWD=xxxx;database=SomeDB")
don't u think it's kind of funny? lol...
when u open the code, u can see the pass, right? lol..
hm...