SGGL_SHJ/SGGL/FineUIPro.Web/HJGL/BaseInfo/PurgeMethodView.aspx.cs

28 lines
985 B
C#

using System;
namespace FineUIPro.Web.HJGL.BaseInfo
{
public partial class PurgeMethodView : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.txtPurgeMethodCode.Focus();
btnClose.OnClientClick = ActiveWindow.GetHideReference();
string purgeMethodId = Request.Params["PurgeMethodId"];
if (!string.IsNullOrEmpty(purgeMethodId))
{
Model.Base_PurgeMethod purgeMethod = BLL.Base_PurgeMethodService.GetPurgeMethod(purgeMethodId);
if (purgeMethod != null)
{
this.txtPurgeMethodCode.Text = purgeMethod.PurgeMethodCode;
txtPurgeMethodName.Text = purgeMethod.PurgeMethodName;
this.txtRemark.Text = purgeMethod.Remark;
}
}
}
}
}
}