or
public int ID {get;set;}public List<Dummy>Oggetti {get;set;}public class Dummy{public int Numero {get;set;}public string Descrizione {get;set;}}string strNomeAnexo = prefixoAnexo.ToString() + ".pdf"; Assembly assReport = Assembly.Load("CentralPaulista.Report"); object objReport = assReport.CreateInstance(strRelatorio); if (strNomeParametro.Count > 0) { strNomeAnexo = prefixoAnexo + strParametro[0] + ".pdf"; int intCont = 0; foreach (string parametro in strNomeParametro) { (objReport.GetType().GetProperty("ReportParameters").GetValue(objReport, null) as ReportParameterCollection)[parametro].Value = strParametro[intCont]; intCont++; } } IReportDocument objDoc = (IReportDocument)objReport; ReportProcessor processor = new ReportProcessor(); RenderingResult result = processor.RenderReport("PDF", objDoc, null); //Here's the Exception MemoryStream arquivo = new MemoryStream(result.DocumentBytes, true);Hi,
Would like to know , Does Telrik reports with Wnforms have support for localization of fallowing languages with Right To Left formating support.
Arabic
Czech
Danish
Dutch
English
Estonian
Finish
French
German
Greek
Hungarian
Italian
Latvian
Norwegian
Polish
Portuguese
Rumanian
Russian
Spanish
Swedish
Turkish
Ukraine
China
Thanks
I have several reports the have parameters passed to the SQL statement through class parameters.
public string Param1 { get { return (string)this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value; } set { this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value = value; } }The reports are run as follows:
IReportDocument runtimeReport; runtimeReport = new InvOrderPackList(); this.ReportViewer1.Report = runtimeReport; (ReportViewer1.Report as InvOrderPackList).Param1 = "='" + Request.QueryString["InvoiceHeaderKey"] + "'";How do I convert this to use in a reportbook?
Regards, Lee