PC Review


Reply
Thread Tools Rate Thread

Creating reports?

 
 
Paulo
Guest
Posts: n/a
 
      8th Oct 2007
Hi, how can I create web reports? I need to create grouping, subtotals,
totals, etc...

Must I use gridview? Generating <table> and <tr> is the best solution?

Using asp.net C# 2.0

Thanks


 
Reply With Quote
 
 
 
 
arti_kapila@yahoo.com
Guest
Posts: n/a
 
      8th Oct 2007
On Oct 8, 7:15 pm, "Paulo" <prbs...@uol.com.br> wrote:
> Hi, how can I create web reports? I need to create grouping, subtotals,
> totals, etc...
>
> Must I use gridview? Generating <table> and <tr> is the best solution?
>
> Using asp.net C# 2.0
>
> Thanks


hi

use crystal reports.

 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      8th Oct 2007

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><tr> statements.


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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, how can I create web reports? I need to create grouping, subtotals,
> totals, etc...
>
> Must I use gridview? Generating <table> and <tr> is the best solution?
>
> Using asp.net C# 2.0
>
> Thanks
>



 
Reply With Quote
 
Paulo
Guest
Posts: n/a
 
      8th Oct 2007
Any articles? documentation? how tos?

help...

Thanks!

<(E-Mail Removed)> escreveu na mensagem
news:(E-Mail Removed)...
> On Oct 8, 7:15 pm, "Paulo" <prbs...@uol.com.br> wrote:
>> Hi, how can I create web reports? I need to create grouping, subtotals,
>> totals, etc...
>>
>> Must I use gridview? Generating <table> and <tr> is the best solution?
>>
>> Using asp.net C# 2.0
>>
>> Thanks

>
> hi
>
> use crystal reports.
>



 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      8th Oct 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, how can I create web reports? I need to create grouping, subtotals,
> totals, etc...
>
> Must I use gridview? Generating <table> and <tr> is the best solution?
>
> Using asp.net C# 2.0
>
> Thanks
>



 
Reply With Quote
 
Paulo
Guest
Posts: n/a
 
      8th Oct 2007
Thanks the reply...

What is the ActiveReports link ?

Is possible to create a filter (combo-box, edit, checkbox, etc...) on web
page and pass the values to the report?

Thanks man !

"sloan" <(E-Mail Removed)> escreveu na mensagem
news:upg9%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi, how can I create web reports? I need to create grouping, subtotals,
>> totals, etc...
>>
>> Must I use gridview? Generating <table> and <tr> is the best solution?
>>
>> Using asp.net C# 2.0
>>
>> Thanks
>>

>
>



 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      8th Oct 2007
http://www.datadynamics.com/Products...Product=ARNET3



Create a page
FilterPage.aspx

Collect your parameters here.
For ex: populate a drop down list with DepartmentID's and DeptNames.
Pick a Dept.

Then you'll populate the (strong) DataSet, using the DeptID as a param.
(That's up to you.. you gotta write code to populate a DataSet with the
Employees from a certain dept).

THen this dataset will have the employees (from a certain dept).

You then use the PUSH method, to show the report (see the KB).

Create a page called
ShowData.aspx
This will use the parameters from FilterPage.aspx, and populate the DataSet.
ShowData.aspx will probably have a CR control on it.

Remember, the dataset will already .. and only.. .have employees from a
certain dept.
So the report only shows whats in the dataset already.


Good luck. You have the tools now, you gotta go make it happen.








"Paulo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks the reply...
>
> What is the ActiveReports link ?
>
> Is possible to create a filter (combo-box, edit, checkbox, etc...) on web
> page and pass the values to the report?
>
> Thanks man !
>
> "sloan" <(E-Mail Removed)> escreveu na mensagem
> news:upg9%(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi, how can I create web reports? I need to create grouping, subtotals,
>>> totals, etc...
>>>
>>> Must I use gridview? Generating <table> and <tr> is the best solution?
>>>
>>> Using asp.net C# 2.0
>>>
>>> Thanks
>>>

>>
>>

>
>



 
Reply With Quote
 
Paulo
Guest
Posts: n/a
 
      8th Oct 2007
Hi sloan, thanks!

So you recommends me using the PUSH method, the only thing I have to do is
use the same name for the columns defined on the CR designer on the
dataset... once created a rpt file I have to fill the data using the
dataset... Am I right?

Thanks man!

"sloan" <(E-Mail Removed)> escreveu na mensagem
news:%(E-Mail Removed)...
> http://www.datadynamics.com/Products...Product=ARNET3
>
>
>
> Create a page
> FilterPage.aspx
>
> Collect your parameters here.
> For ex: populate a drop down list with DepartmentID's and DeptNames.
> Pick a Dept.
>
> Then you'll populate the (strong) DataSet, using the DeptID as a param.
> (That's up to you.. you gotta write code to populate a DataSet with the
> Employees from a certain dept).
>
> THen this dataset will have the employees (from a certain dept).
>
> You then use the PUSH method, to show the report (see the KB).
>
> Create a page called
> ShowData.aspx
> This will use the parameters from FilterPage.aspx, and populate the
> DataSet.
> ShowData.aspx will probably have a CR control on it.
>
> Remember, the dataset will already .. and only.. .have employees from a
> certain dept.
> So the report only shows whats in the dataset already.
>
>
> Good luck. You have the tools now, you gotta go make it happen.
>
>
>
>
>
>
>
>
> "Paulo" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thanks the reply...
>>
>> What is the ActiveReports link ?
>>
>> Is possible to create a filter (combo-box, edit, checkbox, etc...) on web
>> page and pass the values to the report?
>>
>> Thanks man !
>>
>> "sloan" <(E-Mail Removed)> escreveu na mensagem
>> news:upg9%(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hi, how can I create web reports? I need to create grouping, subtotals,
>>>> totals, etc...
>>>>
>>>> Must I use gridview? Generating <table> and <tr> is the best solution?
>>>>
>>>> Using asp.net C# 2.0
>>>>
>>>> Thanks
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Paulo
Guest
Posts: n/a
 
      8th Oct 2007
sloan, how can I pass the connectionString from web.config to the report?

Thanks!

"Paulo" <(E-Mail Removed)> escreveu na mensagem
news:(E-Mail Removed)...
> Hi sloan, thanks!
>
> So you recommends me using the PUSH method, the only thing I have to do is
> use the same name for the columns defined on the CR designer on the
> dataset... once created a rpt file I have to fill the data using the
> dataset... Am I right?
>
> Thanks man!
>
> "sloan" <(E-Mail Removed)> escreveu na mensagem
> news:%(E-Mail Removed)...
>> http://www.datadynamics.com/Products...Product=ARNET3
>>
>>
>>
>> Create a page
>> FilterPage.aspx
>>
>> Collect your parameters here.
>> For ex: populate a drop down list with DepartmentID's and DeptNames.
>> Pick a Dept.
>>
>> Then you'll populate the (strong) DataSet, using the DeptID as a param.
>> (That's up to you.. you gotta write code to populate a DataSet with the
>> Employees from a certain dept).
>>
>> THen this dataset will have the employees (from a certain dept).
>>
>> You then use the PUSH method, to show the report (see the KB).
>>
>> Create a page called
>> ShowData.aspx
>> This will use the parameters from FilterPage.aspx, and populate the
>> DataSet.
>> ShowData.aspx will probably have a CR control on it.
>>
>> Remember, the dataset will already .. and only.. .have employees from a
>> certain dept.
>> So the report only shows whats in the dataset already.
>>
>>
>> Good luck. You have the tools now, you gotta go make it happen.
>>
>>
>>
>>
>>
>>
>>
>>
>> "Paulo" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Thanks the reply...
>>>
>>> What is the ActiveReports link ?
>>>
>>> Is possible to create a filter (combo-box, edit, checkbox, etc...) on
>>> web page and pass the values to the report?
>>>
>>> Thanks man !
>>>
>>> "sloan" <(E-Mail Removed)> escreveu na mensagem
>>> news:upg9%(E-Mail Removed)...
>>>> 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" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Hi, how can I create web reports? I need to create grouping,
>>>>> subtotals, totals, etc...
>>>>>
>>>>> Must I use gridview? Generating <table> and <tr> is the best solution?
>>>>>
>>>>> Using asp.net C# 2.0
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Creating Reports Duane Hookom Microsoft Access Reports 0 6th May 2008 03:30 AM
Creating PDF without reports staffan Microsoft Access Reports 1 12th Sep 2007 05:26 PM
Creating Reports =?Utf-8?B?RGF2aWQ=?= Microsoft Access Reports 2 3rd Nov 2005 04:18 AM
Creating Reports =?Utf-8?B?TGVBbm5l?= Microsoft Access Reports 2 24th Feb 2005 08:49 PM
VB .Net & Creating Reports Ron Microsoft Dot NET 3 31st Dec 2003 09:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.