Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21131

Connection String

$
0
0
Hi

I have written the below string for connection with sql
cnn1.Open "Driver=SQL Server;Server=" & ServerName & ";Database=" & "WEIGHBRIDGE" & ";uid=" & uid & ";pwd=" & pwd & ";"

uid = sa , pwd = sa .

If i want to set the password for Database say 'XYZ' then what would be the string . In the above string also i am connected to 'XYZ' Database.


Thanks

Viewing all articles
Browse latest Browse all 21131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>