This commit is contained in:
sc committed 2024-09-17 13:45:02 +08:00
commit a591908f85
2 files changed
+28 -12

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ namespace DyeingComputer.View
string sql_script = "select * from ProgramSteps where ProgramID = '" + workName + "'";
if (sql != null) sql.Clear(); //清空缓存
sql = SQLiteHelpers.ExecuteDataSet(sql_script, null); //读取计划表写入缓存
sql = SQLiteHelpers.ExecuteDataSet(sql_script, null); //读取表写入缓存
name.Text = SQLiteHelpers.ExecuteScalar("select ProgramName from ProgramName where ProgramID = '" + workName + "'", null).ToString();
SQLiteHelpers.Close(); //关闭连接