Beispiel #1
0
        private void LoadData()
        {
            try
            {
                DictronaryType m_Base = new DictronaryTypeDAL().Get(Request.QueryString["id"]);
                txtDictType.Enabled = false;

                txtDictType.Text = m_Base.DictType;
                txtDictTypeName.Text = m_Base.DictTypeName;//
                txtDictTypeDesc.Text = m_Base.DictTypeDesc;//
            }
            catch (Exception e)
            {
                Alert(e);
            }
        }
Beispiel #2
0
        private void LoadData()
        {
            try
            {
                DictronaryType m_Base = new DictronaryTypeDAL().Get(Request.QueryString["id"]);
                txtDictType.Enabled = false;

                txtDictType.Text     = m_Base.DictType;
                txtDictTypeName.Text = m_Base.DictTypeName;                //
                txtDictTypeDesc.Text = m_Base.DictTypeDesc;                //
            }
            catch (Exception e)
            {
                Alert(e);
            }
        }
Beispiel #3
0
        private void InitPage()
        {
            try
            {
                this.lblmain.Visible = true;

                string         keyword = Request["val"].ToString();
                DictronaryType dic     = new DictronaryTypeDAL().Get(keyword);
                this.lblmain.Text = dic.DictType;

                gridSubName.DataSource = new DictronaryDAL().QueryByType(keyword);
                gridSubName.DataBind();
                gridSubName.EditIndex = -1;
            }
            catch (Exception e)
            {
                Alert(e);
            }
        }
Beispiel #4
0
        private void InitPage()
        {
            try
            {
                this.lblmain.Visible = true;

                string keyword = Request["val"].ToString();
                DictronaryType dic = new DictronaryTypeDAL().Get(keyword);
                this.lblmain.Text = dic.DictType;

                gridSubName.DataSource = new DictronaryDAL().QueryByType(keyword);
                gridSubName.DataBind();
                gridSubName.EditIndex = -1;
            }
            catch (Exception e)
            {
                Alert(e);
            }
        }