using AppData; using NKC_SDK; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace NKC_WF.WebUserControls { public partial class cmp_orderExtList : System.Web.UI.UserControl { #region Public Properties public int BatchId { get { int answ = 0; int.TryParse(hfBatchId.Value, out answ); return answ; } set { hfBatchId.Value = $"{value}"; } } #endregion Public Properties #region Protected Methods protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { doUpdate(); } } #endregion Protected Methods #region Public Methods public void doUpdate() { grView.DataBind(); } #endregion Public Methods } }