SGGL_JT/SUBQHSE/FineUIPro.Web/BaseInfo/CNProfessionalView.aspx.cs

31 lines
1.1 KiB
C#

using System;
namespace FineUIPro.Web.BaseInfo
{
public partial class CNProfessionalView : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
string CNProfessionalId = Request.Params["CNProfessionalId"];
if (!string.IsNullOrEmpty(CNProfessionalId))
{
Model.Base_CNProfessional CNProfessional = BLL.CNProfessionalService.GetCNProfessional(CNProfessionalId);
if (CNProfessional != null)
{
this.txtCNProfessionalCode.Text = CNProfessional.CNProfessionalCode;
this.txtProfessionalName.Text = CNProfessional.ProfessionalName;
if (CNProfessional.SortIndex != null)
{
this.txtSortIndex.Text = CNProfessional.SortIndex.ToString();
}
}
}
}
}
}
}