473,322 Members | 1,494 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Creating Reports with custom objects

Hi all,

We have a N-Tier framework and we now create a Web Site App to wotk with
this architecture.

I add reference from my libraries in the project and creating page and
controls is very easy, using my objects. But, it's seem that I cannot create
report using Crystal Report with my objects. I created classes in the
app_Code folder and yes, I can use them but, it's not the way I eant to do
it. I want to use my classes from my dlls.

Is it possible or not ? Or, is there a third party reporting control who can
use custom objects ?

Tks for your answer.
Oct 24 '07 #1
3 1912

A. Switch to ActiveReports, they support IList's.

B. There is a blog entry about this, but I can't find the link.
Basically, the person took his custom collection (of custom business
objects), created a strong dataset, and then looped over the custom
collection, and threw records into the dataset.
This is called the "push" model for Crystal Reports.

EmployeeDS ds = new EmployeeDS();

foreach (Employee e in empCollection)
{

ds.Employee.AddNewEmployeeRow( 123, "Smith", "John");

}
something like that. then you build the CR against the ADO.Net DataSet OR
against the XSD schema.
Yeah, good times.


Good luck. I hate Crystal Reports.



"Ghistos" <Gh*****@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
Hi all,

We have a N-Tier framework and we now create a Web Site App to wotk with
this architecture.

I add reference from my libraries in the project and creating page and
controls is very easy, using my objects. But, it's seem that I cannot
create
report using Crystal Report with my objects. I created classes in the
app_Code folder and yes, I can use them but, it's not the way I eant to do
it. I want to use my classes from my dlls.

Is it possible or not ? Or, is there a third party reporting control who
can
use custom objects ?

Tks for your answer.

Oct 24 '07 #2
Tks buddy,

I'm a bit frustrated about CR... I don't understand why they do not support
custom objects from other libraries...

And, I hate working with dataset when I don't really need them so... I think
we would buy Active Reports.

Thanks for the cue.

"Ghistos" wrote:
Hi all,

We have a N-Tier framework and we now create a Web Site App to wotk with
this architecture.

I add reference from my libraries in the project and creating page and
controls is very easy, using my objects. But, it's seem that I cannot create
report using Crystal Report with my objects. I created classes in the
app_Code folder and yes, I can use them but, it's not the way I eant to do
it. I want to use my classes from my dlls.

Is it possible or not ? Or, is there a third party reporting control who can
use custom objects ?

Tks for your answer.
Oct 24 '07 #3

Since this is a webapp, you may need to investigate what it takes to show AR
in a browser.

I do web development, but I've used AR only in a winforms application (in
the past).

So I don't know about that exact caveat. AR in the Web.

But I still hate CR. Ever since VB4 days.



"Ghistos" <Gh*****@discussions.microsoft.comwrote in message
news:D3**********************************@microsof t.com...
Tks buddy,

I'm a bit frustrated about CR... I don't understand why they do not
support
custom objects from other libraries...

And, I hate working with dataset when I don't really need them so... I
think
we would buy Active Reports.

Thanks for the cue.

"Ghistos" wrote:
>Hi all,

We have a N-Tier framework and we now create a Web Site App to wotk with
this architecture.

I add reference from my libraries in the project and creating page and
controls is very easy, using my objects. But, it's seem that I cannot
create
report using Crystal Report with my objects. I created classes in the
app_Code folder and yes, I can use them but, it's not the way I eant to
do
it. I want to use my classes from my dlls.

Is it possible or not ? Or, is there a third party reporting control who
can
use custom objects ?

Tks for your answer.

Oct 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Keiron Waites | last post by:
<script language="JavaScript" type="text/javascript"> <!-- var array1 = new Array(); var array1i = new Array(); array1 = array1i; alert(array1); // --> </script>
44
by: Greg Strong | last post by:
Hello All, Is it better to create a query in DAO where a report has 4 sub-reports each of whose record source is a query created at runtime and everything is in 1 MDB file? From what I've...
4
by: Alvo von Cossel I | last post by:
hi, i have been asked to make a good-looking app for a friend. i have an options form with a big tabstrip in it. 1. how can i customize it e.g. change from the standard system style...
3
by: Ken Varn | last post by:
I am just starting the process of creating ASP.NET server controls. I have created controls for .NET applications, but have just started with ASP.NET. I am a little confused about some areas that...
5
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a...
3
by: Tyranno.Lex | last post by:
I am using Visual Studio .NET 2003 and have successfully deployed a commercial web application written in C# and ASP.NET. I am now wanting to add reporting using Crystal Reports and am having a...
26
by: nyathancha | last post by:
Hi, How Do I create an instance of a derived class from an instance of a base class, essentially wrapping up an existing base class with some additional functionality. The reason I need this is...
1
by: =?Utf-8?B?VGVycnk=?= | last post by:
I am brand new to using Crystal Reports and am trying to generate a report based on a custom object - in another project. I have a layered design, with all my business objects in a seperate...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.