using GPW_data; using SteamWare; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace GPW_Smart.WebUserControls { public partial class cmp_chart : BaseUserControl { protected DateTime dataRif { get { DateTime answ = DateTime.Today; string dtRif = memLayer.ML.QSS("dataRif"); if (!string.IsNullOrEmpty(dtRif)) { DateTime.TryParse(dtRif, out answ); } return answ; } } protected void Page_Load(object sender, EventArgs e) { // imposto valori... hfIdxDip.Value = $"{DataProxy.idxDipendente}"; hfData.Value = dataRif.ToString("yyyy-MM-dd"); } } }