11
This commit is contained in:
@@ -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变量数据成功!");
|
||||
|
||||
Reference in New Issue
Block a user