11
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user