28 lines
777 B
C#
28 lines
777 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using Microsoft.Reporting.WebForms;
|
|
using System.Data;
|
|
using C2P_Data;
|
|
using SteamWare;
|
|
|
|
namespace C2P_Report
|
|
{
|
|
public partial class _Default : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
protected void btnReport_Click(object sender, EventArgs e)
|
|
{
|
|
DateTime start = DateTime.Now;
|
|
reportPrinter.obj.stampaReport(reportRichiesto.ReportOffers, 4, memLayer.ML.confReadString("localPrinter"));
|
|
lblOut.Text = string.Format("Impiegati {0} ms", DateTime.Now.Subtract(start).TotalMilliseconds);
|
|
}
|
|
}
|
|
} |