读写逻辑修改
This commit is contained in:
commit
c32e34df73
3 files changed
+29
-2
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user