Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Parameterized connection string in VB.NET (no replies)

$
0
0
How do I write a parameterized connection string in VB.NET? All the examples in the documentation are hard-coded. The string would just be "Server=@server;Port=@port;Database=Watts;Uid=@username;Pwd=@password;allow zero datetime=no;", but I don't know how to actually add parameters to the mysqlconnection.connectionstring object.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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