using System; namespace FineUIPro.Web.HJGL.BaseInfo { public partial class FormatView : PageBase { #region 加载 /// /// 加载页面 /// /// /// protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); string FormatId = Request.Params["FormatId"]; if (!string.IsNullOrEmpty(FormatId)) { Model.Base_Format getFormat = BLL.Base_FormatService.GetFormatById(FormatId); if (getFormat != null) { this.txtFormatCode.Text = getFormat.FormatCode; this.txtFormatName.Text = getFormat.FormatName; this.txtRemark.Text = getFormat.Remark; } } } } #endregion } }