33 lines
866 B
C#
33 lines
866 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using MapoDb;
|
|
|
|
namespace MoonPro
|
|
{
|
|
public partial class lastUpdate : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
string idxMacchina = Request.QueryString["idxMacchina"];
|
|
if (idxMacchina != "")
|
|
{
|
|
try
|
|
{
|
|
lblLastUpdate.Text = DataLayer.obj.taStatoMacchine.GetDataByIdxMacchina(idxMacchina)[0].InizioStato.ToLongTimeString();
|
|
}
|
|
catch
|
|
{
|
|
lblLastUpdate.Text = "???";
|
|
}
|
|
}
|
|
else
|
|
{
|
|
lblLastUpdate.Text = "manca idx Macchina";
|
|
}
|
|
}
|
|
}
|
|
} |