Problem with Business Objects

Stimulsoft Reports.NET discussion
Post Reply
hfdotnet
Posts: 4
Joined: Sat Oct 27, 2012 5:05 am

Problem with Business Objects

Post by hfdotnet »

We all are familiar with programming in 3 layers
I'm trying to Programming 3 layers with DTO as simple concept and create test report with Stimul
But there was trouble on the way to
I wrote the following two simple classes
Image

And for retrieve some data use static class and below data (very simple and common)
Image
In my test report I need get information of University native student for this goal I used very simple linq join as below
Image
NOW all things is correct and “list” variable return correct data
Image

NOW let`s Start Create My Report
1. In Dictionary Section I add NEW DATA SOURCE and select Data From Business Objects
2. Add Student & College Class from “Common.dll”
3. Drag and Drop Student to Page as Table
Image

BUT My Problem is this :
Why two Columns (College Name – Professor Name) have Repetition Records ?
How I can correct records ?!

Image

Can anyone modify and correct my attachment ?!
Attachments
RptTest.rar
(250.4 KiB) Downloaded 111 times
Last edited by hfdotnet on Fri Nov 02, 2012 11:08 am, edited 1 time in total.
mhf
Posts: 20
Joined: Wed Jun 20, 2012 5:29 am
Location: wg

Re: Problem with Business Objects

Post by mhf »

سلام
دقیقا مشکلت چی؟
hfdotnet
Posts: 4
Joined: Sat Oct 27, 2012 5:05 am

Re: Problem with Business Objects

Post by hfdotnet »

سلام
مشکل رو که شرح دادم خب
ببین من دو تا کلاس دارم که با استفاده از اونا دو تا لیست بر میگردونم
بعد اومدم یه کوئری لینک زدم
شکل یک رو ببین
بعد تو دیزاینر اومدم اون دی ال ال رو دادم و دیتا سورس رو تعیین کردم الان مشکلم اینه که دیتا سورس وقتی رو کلاس
student
ست میشه اطلاعات پراپرتی های مرتبط با
student
درسته ولی اطلاعات پراپرتی های کلاس
college
داره تکرار میشه
نتیجه ریپورت رو ببین
جاهد مطلق 3 بار تکرار شده در حالیکه غلطه
الان فقط اطلاعات دیتا سورسی درسته که تو دیزایر ست شده
کلاس دوم و آبجکت های دیگه فقط سطر اولشون تکرار میشه
من اگر 5 تا کلاس داشته باشم بعد با لینک جوین بزنم
ایجوری در آن واحد یکی اطلاعاتش درسته
چهار تا کلاس دیگه رکوردشون تکرار میشه
نمیدونم با هاش چیکار کنم
hfdotnet
Posts: 4
Joined: Sat Oct 27, 2012 5:05 am

Re: Problem with Business Objects

Post by hfdotnet »

Who can help?
Does my description is incomplete?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem with Business Objects

Post by HighAley »

Hello.

Please, write your question to support@stimulsoft.com with link on this topic.

Thank you.
hfdotnet
Posts: 4
Joined: Sat Oct 27, 2012 5:05 am

Re: Problem with Business Objects

Post by hfdotnet »

Aleksey Andreyanov wrote:Hello.

Please, write your question to support@stimulsoft.com with link on this topic.

Thank you.
I Modify My first post and attach sample + send my question to support@stimulsoft.com
I hope anyone help me
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem with Business Objects

Post by HighAley »

Hello.

OK. We'll answer your mail.

Thank you.
mhf
Posts: 20
Joined: Wed Jun 20, 2012 5:29 am
Location: wg

Re: Problem with Business Objects

Post by mhf »

سلام
شما میتونید ریلیشن بین جداولتون بزارید.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Problem with Business Objects

Post by Andrew »

Hello,

I am sorry but your question or suggestion is not clear for us.

Thank you.
Post Reply