Click here to Skip to main content
16,006,749 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
When I open Crystal Report in c# with ms access database, user name and password form appear.Is it why? And I don't want this login form.How can I do it?Please! help me.
Thanks you all!
Posted
Comments
IpsitaMishra 31-Oct-13 5:49am    
It ask for the Database credential,set it in code file it will not ask again

_objReportDocument = new ReportDocument();
_objReportDocument.SetDatabaseLogon(DB_UID,DB_PWD,SERVER_NAME,DB_NAME)

1 solution

You have to apply logon details to reports run time dynamically.
C# Crystal Reports Dynamic Logon parameters[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900