using SteamWare; using System; using System.Web.UI; namespace MoonProTablet.WebUserControls { public partial class cmp_dichiarList : BaseUserControl { #region Protected Methods protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { intervalloDate newIntervallo = new intervalloDate() { fine = DateTime.Today.AddDays(1), inizio = DateTime.Today.AddDays(-7) }; mod_selPeriodo.intervalloAnalisi = newIntervallo; } } #endregion Protected Methods #region Public Methods public void doUpdate() { grView.DataBind(); } public string tagCode { get { return hfTagCode.Value; } set { hfTagCode.Value = value; } } #endregion Public Methods protected void ods_Updating(object sender, System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs e) { e.InputParameters["MatrOpr"] = $"{DataLayerObj.MatrOpr}"; } } }