Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Re: Crystal Reports XI compatibility with Windows 2012

$
0
0

Hi Ludek,

 

This is code we are using :

 

protected HomeProfessionalReport rpt;

rpt.DataSourceConnections[0].SetConnection(dbserver, db, dbuser, dbpassword);

foreach (ReportDocument r in rpt.Subreports)

{

     r.DataSourceConnections[0].SetConnection(dbserver, db, dbuser, dbpassword);

}

 

 

rpt.SetParameterValue("Variable1", "Dummy1");

 

rpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "");

 

rpt.Close();

rpt.Dispose();

 

Please advice. The CR libraries are the same as I mentioned above.


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>