aggiunto recupero cod lingua da URL x report...
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -28,7 +28,8 @@ namespace C2P_Report
|
||||
ReportOffers.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
|
||||
LocalReport localReport = ReportOffers.LocalReport;
|
||||
|
||||
// 0) recupero la richiesta di stampa: numero ticket!
|
||||
// 0) recupero la richiesta di stampa: numero ticket! e lingua!
|
||||
string lingua = "EN";
|
||||
int ticket = 0;
|
||||
try
|
||||
{
|
||||
@@ -36,6 +37,15 @@ namespace C2P_Report
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
lingua = Request.QueryString["lingua"];
|
||||
}
|
||||
catch
|
||||
{
|
||||
lingua = "EN";
|
||||
}
|
||||
if (lingua == "" || lingua == null) lingua = "EN";
|
||||
|
||||
// 1) impostazione file report
|
||||
localReport.ReportPath = @".\Reports\ReportOffers.rdlc";
|
||||
@@ -43,7 +53,7 @@ namespace C2P_Report
|
||||
// 2) caricamento tab dati
|
||||
DataTable tabVoc = new DataTable();
|
||||
DataTable tabQuote = new DataTable();
|
||||
tabVoc = (DataTable)SteamWare.selDataVoc.mgr.getVocabolarioByLemma(SteamWare.user_std.UtSn.lingua, "C2P_prt1"); // HARD CODED lemma x report!!!
|
||||
tabVoc = (DataTable)SteamWare.selDataVoc.mgr.getVocabolarioByLemma(lingua, "C2P_prt1"); // HARD CODED lemma x report!!!
|
||||
tabQuote = (DataTable)DtProxy.man.taQFQ.repOffersByTicket(ticket);
|
||||
|
||||
// 3) inserimento dataset nel report
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user