Custom reports
I don't understand how to write custom reports.
I've started a new WebApp project, added a User Control which inherits from ReportBaseControl, and have the code behind it.
How do I connect the the database to retrieve data? How do I choose the data to be used in the report? How do I turn that data into a viewab;e form using System.Web.UI.DataVisualization?
alitheg
· 1 |
|
Thursday, September 10, 2009, 12:33:54 PM |
0
|
Please refer to this post to learn more about adding custom reports to your Gemini. |
||||
|
0
|
Hi Bikram, thanks for the quick response. |
||||
|
0
|
You'll need to generate SQL queries/stored procedures to pull the required data. Once you have the required data, you can present it in tabular form or use third party tools such MS Charts. |
||||
|
0
|
Ok, that helps, but I can't see how to connect to the database in the first place. Which libraries am I meant to use? I presume that once I know which one it'll be well documented online, but I can't seem to find one that contains methods for database connection (I found plenty for queries and the like, but not how to connect) |
||||
|
0
|
You can refer to this link for more info on connecting to DB. |
||||
|