コード例 #1
0
    private void LoadData()
    {
        LStblBranchDAL _dalLSTblBranch = null;
        Hashtable      _htParameters   = null;

        try
        {
            //System.Diagnostics.Debugger.Break();

            _dalLSTblBranch = new LStblBranchDAL();
            _htParameters   = new Hashtable();

            _htParameters["p_ls_tblbranchid"] = Request.Params["id"];
            DataTable _dt = _dalLSTblBranch.GetRow(_htParameters);
            MPF23.Shared.Mapper.DBToUI.Map(pnlBody.Controls, _dt.Rows[0]);
        }
        catch (Exception ex)
        {
            Utility.ShowMessageBox(this, Utility.LOAD_DATA_FAIL_MESSAGE, ex, null);
        }
    }