468,505 Members | 1,591 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Creating reports?

Hi, how can I create web reports? I need to create grouping, subtotals,
totals, etc...

Must I use gridview? Generating <tableand <tris the best solution?

Using asp.net C# 2.0

Thanks
Oct 8 '07 #1
3 1629
On Oct 8, 7:15 pm, "Paulo" <prbs...@uol.com.brwrote:
Hi, how can I create web reports? I need to create grouping, subtotals,
totals, etc...

Must I use gridview? Generating <tableand <tris the best solution?

Using asp.net C# 2.0

Thanks
hi

use crystal reports.

Oct 8 '07 #2

Asking "how should I generate reports?" is kinda like asking
"What kind of car should I buy?"

There are several different ways to do it.

Homegrown ( asp:repeater , asp:gridview) (as you've alluded to)
Crystal Reports
Active Reports
Sql Server Reporting

You do NOT want to generate <table><trstatements.
I'm gonna suggest this article:
http://www.codeproject.com/useritems...talReports.asp

with emphasis on "WITH A DATASET".

A (strong) dataset is kind of a mini-setup of you database.
You might have 100 tables in your database, but if you need a report of
Employees and which Department they are in, you only need to deal with 2 or
3 tables to make this report.
Employee (database table) and Department (database table) and maybe a
EmployeeDepartmentLink (database table)(if Employees are in more than 1
department).
The dataset would also (and only) have these 2/3 tables in it.
Then you create some kind of select (or stored procedure) method to populate
the dataset.

THEN (and only after you get the data you need in the dataset) you open
Crystal Reports (CR) and start working with the data, as the URL/Link I gave
you shows.

ActiveReports is like CrystalReports, but you have to buy/pay for it.
But I prefer AR over CR.
(like some people prefer Chevrolet over Ford).
But that'll get you going.

"Paulo" <pr*****@uol.com.brwrote in message
news:Or**************@TK2MSFTNGP05.phx.gbl...
Hi, how can I create web reports? I need to create grouping, subtotals,
totals, etc...

Must I use gridview? Generating <tableand <tris the best solution?

Using asp.net C# 2.0

Thanks

Oct 8 '07 #3
This explains it a little better.

http://www.codeproject.com/aspnet/crystal_report.asp

You def want to go with the PUSH method.

PULL will get you into trouble fast. PULL is very non-maintainable, and if
you ever want to switch to something besides CR, PULL will screw you.


"Paulo" <pr*****@uol.com.brwrote in message
news:Or**************@TK2MSFTNGP05.phx.gbl...
Hi, how can I create web reports? I need to create grouping, subtotals,
totals, etc...

Must I use gridview? Generating <tableand <tris the best solution?

Using asp.net C# 2.0

Thanks

Oct 8 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Joe_Black | last post: by
3 posts views Thread by Przemo | last post: by
3 posts views Thread by Andy Baker | last post: by
1 post views Thread by BK | last post: by
4 posts views Thread by sklett | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.