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