47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Web;
|
|||
|
|
using System.Web.UI;
|
|||
|
|
using System.Web.UI.WebControls;
|
|||
|
|
|
|||
|
|
namespace OSS
|
|||
|
|
{
|
|||
|
|
public partial class PrintAppProfileNew : System.Web.UI.Page
|
|||
|
|
{
|
|||
|
|
protected void Page_Load(object sender, EventArgs e)
|
|||
|
|
{
|
|||
|
|
PreviewNewApp.Report = CreateReport();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
NewAppProfile CreateReport()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
NewAppProfile report = new NewAppProfile();
|
|||
|
|
|
|||
|
|
report.Parameters["ProjectCode"].Value = Request.QueryString["ProjectCode"];
|
|||
|
|
report.Parameters["CompanyTIN"].Value = Request.QueryString["CompanyTIN"];
|
|||
|
|
report.CreateDocument();
|
|||
|
|
return report;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
catch
|
|||
|
|
{
|
|||
|
|
string ProjectCode = "";
|
|||
|
|
string CompanyTIN = "";
|
|||
|
|
NewAppProfile report = new NewAppProfile();
|
|||
|
|
|
|||
|
|
report.Parameters["ProjectCode"].Value = "";
|
|||
|
|
report.Parameters["CompanyTIN"].Value = "";
|
|||
|
|
|
|||
|
|
report.CreateDocument();
|
|||
|
|
|
|||
|
|
return report;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|