Print Page | Close Window

Bind Crystal report chart with user defined object

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=13230
Printed Date: 20 Apr 2025 at 7:35pm


Topic: Bind Crystal report chart with user defined object
Posted By: pijush.dutta85
Subject: Bind Crystal report chart with user defined object
Date Posted: 16 May 2011 at 6:50pm
Hi,

I have a requirement where I have to bind my report with user defined object. For that i am taking fields from database using query.
SELECT [Date]
          ,[Value]
      FROM [dbo].[MyTable] for XML AUTO,Elements and binding report using the xml generated by this query.

I have a user defined class where i fill the values from database

Now when I generate a line chart, Its taking the count of the values given not the absolute values. I think the problem is its taking the values of date and value as string though i have given date time and int type in my class.

Any idea how to solve this problem. any help will be appreciated.

Thanks in advance.

Regards,
Pijush Dutta


-------------
Pijush Dutta



Print Page | Close Window