How do I set up a connection string for a MySQL database in a C# project without using dialog boxes?

后端 未结 2 1260

NOTE: Apparently, the reason the MySQL connector installation doesn\'t show up automatically in the Dialog Boxes for adding a data source is because the

2条回答
  •  迷失自我
    2021-01-06 05:30

    Use the app.config (or web.config) file to add a entry. Be sure the specify the provider= attribute correctly with the MySQL provider.

提交回复
热议问题