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

30 lines
1015 B
C#
Raw Normal View History

2024-11-19 09:45:27 +08:00
using BLL;
using System;
using System.Linq;
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;
}
}
}
}
}
}