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

@@ -171,7 +171,7 @@ namespace CleanMachineHMI.FrmUserControl
{
string UserId = dataGridView.SelectedRows[0].Cells[0].Value.ToString();
string sql = $@"DELETE FROM SYS_USER WHERE USER_ID = '{UserId}'";
int row = LeadDbHelperSQLite.ExecuteSql(sql);
int row = LeadDbHelperSQLite.Execute(sql);
if (row > 0)
{
KryptonMessageBox.Show(this.T("删除用户数据成功!", "DeleteSuccessInfo"));