xinjiang/SGGL/FineUIPro.Web/HJGL/BaseInfo/TestMediumView.aspx.cs

35 lines
1.1 KiB
C#

using System;
namespace FineUIPro.Web.HJGL.BaseInfo
{
public partial class TestMediumView : PageBase
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
btnClose.OnClientClick = ActiveWindow.GetHideReference();
string testMediumId = Request.Params["MediumId"];
if (!string.IsNullOrEmpty(testMediumId))
{
Model.Base_TestMedium Medium = BLL.Base_TestMediumService.GetTestMediumById(testMediumId);
if (Medium != null)
{
this.txtMediumCode.Text = Medium.MediumCode;
this.txtMediumName.Text = Medium.MediumName;
//drpTestType.SelectedValue = Medium.TestType;
this.txtRemark.Text = Medium.Remark;
}
}
}
}
#endregion
}
}