更新时间:2022-12-06 14:38:16
在 connectionString 属性(假设您使用SQL)之后,您缺少以下代码:
connectionString
You're missing the following piece of code after the connectionString attribute (assuming that you're using SQL):
providerName =System.Data.SqlClient
应用程序配置文件中的连接字符串“MyConnection”不包含必需的providerName属性。