This commit is contained in:
gongxh
2022-05-16 09:03:42 +08:00
parent 4a6894457d
commit f3e77f63c0
37 changed files with 298 additions and 255 deletions

View File

@@ -305,7 +305,7 @@ namespace CleanMachineHMI.FrmUserControl
{
string PlcItemId = kryptonDataGridView1.SelectedRows[0].Cells[0].Value.ToString();
string sql = $@"DELETE FROM BAS_PLC_ITEM WHERE PLC_ITEM_ID = '{PlcItemId}'";
int row = LeadDbHelperSQLite.ExecuteSql(sql);
int row = LeadDbHelperSQLite.Execute(sql);
if (row > 0)
{
//KryptonMessageBox.Show("删除PLC变量数据成功!");