Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hey ,... i want to make reports manually by writing code for them in visual studio, my teacher give me the task to write code for report and restrict me by not using built in reports , i have adventure works attached i have to take some tables from the adventure works and write queries to fetch data and to show them graphically in my report, can any one help me with some links or by helping me with procedure of creating manual reports ??
Posted
Updated 19-Jun-12 4:59am
v2

This will help you get going in the right direction:

http://stackoverflow.com/questions/2289165/c-sharp-create-report-programatically[^]

However, we can't go much further until you show us what you have tried. We aren't here to do your homework for you. If you have major issues, you should talk to your teacher.

Update
For an example of how to create an RDLC report and view it in ASP.NET, go here:
http://weblogs.asp.net/rajbk/archive/2010/05/09/creating-an-asp-net-report-using-visual-studio-2010-part-1.aspx[^]
 
Share this answer
 
v2
Comments
SaadZulfiqar 19-Jun-12 11:04am    
can u plz tell me the difference between Crystal reports and RDLC ??
Tim Corey 19-Jun-12 11:28am    
Crystal Reports is a stripped-down version of CR that is included in Visual Studio. RDLC is a report type that is based upon the standard RDL format. They can be used stand-alone in projects or they can be used inside SQL Server Reporting Services (SSRS). I would recommend you go the direction of RDLC. I've updated my solution to help you out.
SaadZulfiqar 19-Jun-12 11:08am    
and i am not saying u to give the whole procedure , i just want to guide me to just the way how to create the simple report , rest of all i will do with myself ??
Option 1:
You can use SQL Server Reporting Service (SSRS) (rdl reports)

One of the ways to build & use SSRS: Using Report Builder to build reports[^]
Few other SSRS articles that will help:
Beginner's guide for creating standalone .rdlc reports with SSRS[^]
ReportingServices:Application Developer Guide[^]
SSRS Series Part I: Various ways of Report creation, deployment and invocation[^]

Option 2:
You can use Crystal reports (rpt reports)
Have a look at these articles to get equipped with knowledge needed for it:
Dynamic Crystal Reports Viewing[^]
Dynamic Crystal Report with C#[^]
C# Crystal Reports step by step [^]
Introductions to Crystal Reports in .NET[^]

Option 3:
Get raw data from database from queries and display then in datagrid or may be chart controls.
Have a look at these to get equipped with knowledge needed for it:
MSDN: Microsoft Chart Controls...
New ASP.NET Charting Control[^]

Try!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900