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

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 1447

Trending Articles