private void Bind() { model = manage.GetModel(Request["ID"].ToString()); txtName.Text = model.TEMPLATENAME; lblPUrl.Text = model.TEMPLATEURL; htmlMessage = model.DESCRIPTION; }
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; } }