private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; //System.Diagnostics.Debugger.Break(); try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_trx_no"] = Request.Params["trx_no"]; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); IS_PICKED_DEVICE = _dr.ItemArray[12].ToString(); IS_SYNC_DEVICE = _dr.ItemArray[13].ToString(); IS_SYNC_PRODUCTION = _dr.ItemArray[14].ToString(); From_Production = _dr.ItemArray[18].ToString(); Picked_Device = _dr.ItemArray[19].ToString(); Sync_Device = _dr.ItemArray[20].ToString(); Sync_Production = _dr.ItemArray[21].ToString(); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_code"] = Request.Params["code"]; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); if (ddlQuestionType.SelectedValue.Equals("CHOICE")) { btnAddQuestionChoice.Enabled = true; } else { btnAddQuestionChoice.Enabled = false; } } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_code"] = Request.Params["code"]; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadDataCollateral() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_application_no"] = txtApplicationNoCustomer.Text; DataRow _dr = _dal.GetRow(TABLE_NAME_COLLATERAL, _ht); DBToUI.Map(updApplicationCollateral.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_photo_code"] = txtCode.Text; _ht["p_group_code"] = txtID_Master_Photo_Group.Text; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_id"] = txtIdEMPDevice.Text; _ht["p_employee_code"] = txtEmployeeCode.Text; _ht["p_emp_name"] = lblEMPName.Text; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_cif"] = Request.Params["cif"]; _ht["p_no_rekening_fasilitas"] = Request.Params["no_rekening_fasilitas"]; _ht["p_no_akad_awal"] = Request.Params["no_akad_awal"]; _ht["p_cre_date"] = Request.Params["date"]; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }
private void LoadData() { GeneralDAL _dal = null; Hashtable _ht = null; try { _dal = new GeneralDAL(); _ht = new Hashtable(); _ht["p_cif"] = Request.Params["cif"]; _ht["p_nomor_identitas"] = Request.Params["nomor_identitas"]; _ht["p_nama_badan_usaha"] = Request.Params["nama_badan_usaha"]; _ht["p_cre_date"] = Request.Params["cre_date"]; DataRow _dr = _dal.GetRow(TABLE_NAME, _ht); DBToUI.Map(this.Controls, _dr); } catch (Exception ex) { Shared.ShowErrorDialog(this, ex); } }