Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to 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 19-Jun-12 4:52am
Edited 19-Jun-12 4:59am
Tim Corey89.5K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
v2
Comments
SaadZulfiqar at 19-Jun-12 11:04am
   
can u plz tell me the difference between Crystal reports and RDLC ??
Tim Corey at 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 at 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 ??
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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!
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 424
1 Maciej Los 300
2 Sergey Alexandrovich Kryukov 284
3 George Jonsson 255
4 King_Fisher 160
0 Sergey Alexandrovich Kryukov 10,899
1 Maciej Los 5,594
2 OriginalGriff 5,544
3 CPallini 3,819
4 BillWoodruff 3,579


Advertise | Privacy | Mobile
Web03 | 2.8.141030.1 | Last Updated 19 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100