且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

应用程序配置文件中的连接字符串“MyConnection”不包含必需的providerName属性。

更新时间:2022-12-06 14:38:16

connectionString 属性(假设您使用SQL)之后,您缺少以下代码:

You're missing the following piece of code after the connectionString attribute (assuming that you're using SQL):

providerName =System.Data.SqlClient