Link to home
Start Free TrialLog in
Avatar of Djamilmostafa
Djamilmostafa

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Djamilmostafa
Djamilmostafa

ASKER

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?

mlmcc
finally let me try your method. I'll update you soon.
Best regards.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you used the approach I suggested why are you closing this without awarding the points

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

mlmcc
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

mlmcc