override protected void DeleteCurrentRow() { int count = 0; foreach (DataGridViewRow row in baseDataGridView.SelectedRows) { BllMainDictType.DelCell((long)row.Cells[0].Value); count++; } if (count == 0) { MessageBox.Show("没有删除任何记录!"); } else { MessageBox.Show("已删除" + count + "条记录!"); } }
protected override void InitData() { ActionTable = UserStatics.GetUserActions(ModuleId); TableForLoad = BllMainDictType.GetTable(UserStatics.OptrType); }
override protected void DeleteCurrentRow() { BllMainDictType.DelCell(DeletingRowId); }