private void DeleteDataGroup(string groupcode) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_code"] = groupcode; _dal.Delete(TABLE_NAME, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteDataMenu(string id) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_id"] = id; _dal.Delete(TABLE_MENU, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteDataColletion(string trx_no) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_trx_no"] = trx_no; _dal.Delete(TABLE_NAME, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteDataResults(string id) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_id"] = int.Parse(id); _dal.Delete(TABLE_NAME_RESULTS, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteApplicationCustomer(string no) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_application_no"] = no; _dal.Delete(TABLE_NAME, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteUsergroupsec(string uid, string groupcode) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_uid"] = uid; _ht["p_group_code"] = groupcode; _dal.Delete(TABLE_NAME_GROUPSEC, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteEmployeeDevice(string empcode, string id) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_emp_code"] = empcode; _ht["p_id"] = id; _dal.Delete(TABLE_NAME_C, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void DeleteDataEmployeeBranch(string empcode, string branchcode) { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_emp_code"] = empcode; _ht["p_branch_code"] = branchcode; _dal.Delete(TABLE_NAME_A, _ht); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }