pulizia codice
This commit is contained in:
Binary file not shown.
@@ -61,7 +61,6 @@
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlSquadre" DefaultValue="" Name="CodSquadra" PropertyName="SelectedValue" Type="String" />
|
||||
<%--<asp:SessionParameter SessionField="DataRif" Name="Data" Type="DateTime" />--%>
|
||||
<asp:ControlParameter ControlID="lblDataFrom" Name="Data" PropertyName="Text" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
@@ -24,20 +24,6 @@ namespace WebSCR.WebUserControls
|
||||
/// </summary>
|
||||
private void reloadSessionByCookie()
|
||||
{
|
||||
#if false
|
||||
// se valore in session è nullo PROVO a leggerlo da cookie...
|
||||
DateTime adesso = DateTime.Now;
|
||||
if (!memLayer.ML.isInSessionObject("DataRif"))
|
||||
{
|
||||
try
|
||||
{
|
||||
adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true);
|
||||
}
|
||||
#endif
|
||||
lblDataFrom.Text = mod_selData.dataTxt.ToString("yyyy-MM-dd");
|
||||
}
|
||||
private void Mod_selData_eh_update(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user