我是 C# 和 Web 服务的新手...当我调试它在浏览器上运行的登录编码时,但是当输入登录按钮时,它显示错误 Object reference not set to an instance of an object with source error,如下所示:
{
SqlConnection DBConn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ASPNETDBConnectionString"].ConnectionString);
try
{
是否存在与数据库连接丢失或错误的语法?