Ejemplo n.º 1
0
    private void LoadDataObject()
    {
        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_OBJECT, _ht);

            DBToUI.Map(updApplicationObject.Controls, _dr);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
Ejemplo n.º 2
0
    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);
        }
    }
Ejemplo n.º 3
0
    private void LoadData()
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_uid"] = Request.Params["uid"];

            DataRow _dr = _dal.GetRow(TABLE_NAME, _ht);

            DBToUI.Map(this.Controls, _dr);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
Ejemplo n.º 4
0
    private void LoadData()
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        //System.Diagnostics.Debugger.Break();
        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_code"] = Request.Params["code"].ToString();

            DataRow _dr = _dal.GetRow(TABLE_NAME, _ht);

            DBToUI.Map(this.Controls, _dr);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
Ejemplo n.º 5
0
    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);
        }
    }
Ejemplo n.º 6
0
    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);
        }
    }
Ejemplo n.º 7
0
    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);
        }
    }