using System; namespace FineUIPro.Web.HJGL.BaseInfo { public partial class LocationView : PageBase { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { btnClose.OnClientClick = ActiveWindow.GetHideReference(); string locationId = Request.Params["LocationId"]; if (!string.IsNullOrEmpty(locationId)) { Model.Base_Location location = BLL.Base_LocationService.GetLocationById(locationId); if (location != null) { this.txtLocation.Text = location.Location; this.txtRemark.Text = location.Remark; } } } } } }