how to avoid logon form using an object as datasource with crystal report

H, I have a class i use as datasource for my crystal report in one WindowsForm App i develop.
It is always ask me logon form ?
How is it possible to avoid it and just bind the report datasource to my Custom Class.

Best regards.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Did you start the report using the class?

Is the class based on a database that requires a logon?

You might look at this method that shows how to feed the report from a datasource


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DjamilmostafaAuthor Commented:
Hi my class is just a public class with properties.
The problem is i have choosed it as .NET object datasource but every time i run the applicationi got login form asking me username and password
I haven't built any reports that way.

Can you build a recordset in the application and pass it to the report as in the example I attached?

Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

DjamilmostafaAuthor Commented:
finally let me try your method. I'll update you soon.
Best regards.
DjamilmostafaAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for Djamilmostafa's comment #a40890574

for the following reason:

Hi my app run well. I still have used your approach and use my business class to create and populate dynamically the dataset binding to all the reports
If you used the approach I suggested why are you closing this without awarding the points

Final comment from asker indicated he used the method I suggested though he had to modify it

In his comment when requesting closure http:#a40898843 he indicated he used the method I recommended in http:#40889861 .

Recommend use that as the answer

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.