Monday, 2 April 2012

Telerik Reporting

(A) To create a Telerik report: 
  • Create a 'C# class library project'
  • Add a Telerik Report from C# toolbox
  • Design the report (wizard or custom query)



(B) To use the created Telerik report: 
  • Create a C# Winform of Web Application project
  • Add the created Telerik report in step A as a reference to the project
  • Add a 'Report Viewer' to the page and select the 'Report' property to point to the desired created report
  • Overwrite the 'ConnectionString' in 'web.config' with the 'ConnectionString' in the 'app.config' of Telerik report created in step A


No comments:

SQL: Generate a range of numbers

SELECT ones.n + 10*tens.n + 100*hundreds.n + 1000*thousands.n FROM       (VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) ones(n),      (VALU...