Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Creating Reports with custom objects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ghistos - 24 Oct 2007 15:53 GMT
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.
sloan - 24 Oct 2007 16:05 GMT
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.

> Hi all,
>
[quoted text clipped - 13 lines]
>
> Tks for your answer.
Ghistos - 24 Oct 2007 16:53 GMT
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.

> Hi all,
>
[quoted text clipped - 11 lines]
>
> Tks for your answer.
sloan - 24 Oct 2007 18:28 GMT
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.

> Tks buddy,
>
[quoted text clipped - 26 lines]
>>
>> Tks for your answer.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.