调试后SqlException是未处理的错误

时间:2019-05-07 22:51:33

标签: asp.net sql-server

当我要调试代码时,遇到了意外错误。

protected void Page_Load(object sender, EventArgs e)
{
    con.ConnectionString = "Data source=JaneBrillo;Initial Catalog=Accounts;Integrated Security=true";
    con.Open(); // <<-- This line is the error
}

0 个答案:

没有答案