46 lines
1.2 KiB
C#
46 lines
1.2 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 PrintAppProfileExtension : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
PreviewExtensionApp.Report = CreateReport();
|
|
}
|
|
|
|
ExtensionProfile CreateReport()
|
|
{
|
|
|
|
try
|
|
{
|
|
|
|
ExtensionProfile report = new ExtensionProfile();
|
|
report.Parameters["ProjectCode"].Value = Request.QueryString["ProjectCode"];
|
|
report.Parameters["CompanyTIN"].Value = Request.QueryString["CompanyTIN"];
|
|
report.CreateDocument();
|
|
return report;
|
|
|
|
}
|
|
catch
|
|
{
|
|
string ProjectCode = "";
|
|
string CompanyTIN = "";
|
|
ExtensionProfile report = new ExtensionProfile();
|
|
|
|
report.Parameters["ProjectCode"].Value = "";
|
|
report.Parameters["CompanyTIN"].Value = "";
|
|
|
|
report.CreateDocument();
|
|
|
|
return report;
|
|
|
|
}
|
|
}
|
|
}
|
|
} |