Tuesday, 10 April 2012

Passing Parameters from C# Code to Telerik Reports

After creating a report with Telerik reporting tool, import it as reference library to the actual project. It is better to write the fields name to make sure the C# code address the right field. Then the following commands can talk to the report fields:

Telerik.Reporting.Report report = (Telerik.Reporting.Report) this.ReportViewer1.Report;
report.ReportParameters ["FIELD NAME"].Value = <VALUE>;
  

No comments:

Generate QR Code in MS Word

Press CTRL + F9 Inside the braces, type: {displaybarcode”your-website.domain”qr\q3} Press ALT + F9 to generate the QR code