Exemplo n.º 1
0
        private void Bind()
        {
            model = manage.GetModel(Request["ID"].ToString());

            txtName.Text = model.TEMPLATENAME;
            lblPUrl.Text = model.TEMPLATEURL;
            htmlMessage  = model.DESCRIPTION;
        }
Exemplo n.º 2
0
 private void Bind()
 {
     model               = manage.GetModel(Request["ID"].ToString());
     txtName.Text        = model.BROCKNAME;
     txtCode.Text        = model.BROCKCODE;
     txtList.Text        = model.SORTLIST.ToString();
     txtTepmlate.Text    = model.TEMPLATEID;
     txtDescription.Text = model.DESCRIPTION;
     tempModel           = mTemplate.GetModel(model.TEMPLATEID);
     if (tempModel != null)
     {
         txtTepmlateID.Text = tempModel.TEMPLATENAME;
     }
 }