Connect to remote MySQL database with Visual C#

前端 未结 5 762
花落未央
花落未央 2021-01-20 19:39

I am trying to connect to a remote MySQL database using Visual C# 2008 Express Edition. Is there a way to connect using the editor, or do I have to code the connection manua

5条回答
  •  梦毁少年i
    2021-01-20 20:26

    The good thing about "express" (or even just "csc") is that even if it doesn't have a designer to help with some things (like setting up the connection string to most useful databases), the core framework is not limited. So you'll probably have to put in the connection string yourself and add a reference to the MySQL/.NET provider, but it should work at runtime, even in debug.

    Which is very nice ;-p

提交回复
热议问题