读写逻辑修改

This commit is contained in:
sc committed 2025-08-24 13:46:51 +08:00
commit c32e34df73
3 files changed
+29 -2

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
conn_SC = new SqlConnection("server=" + SQLIP + ";database=" + SQLNAME + ";User ID=" + SQLUSER + ";Password=" + SQLPASWORD);
}
await conn_SC.OpenAsync(); //连接数据库
//conn_SC.Close();
conn_SC.Close();
}
catch (Exception ex)
{