0
votes

I am making a Windows Forms APplication that uses crystal report to show some data. I have a data set with two tables and then the crystal report gets the dataset after it is populated as source and then the crysal report viewer gets the crystal report object to show the data.

But when I start my application it always prompts me for Database login : Login ID and Password. I have no idea where I could find them so I can type them(besides the fact that I don't want that prompt to show up at all).Can you help me with that?

2

2 Answers

0
votes

I would write a comment but don't have the reputation yet...

How are you connecting your datasets to your database? Is it with Windows authentication? Or sql server authentication?

For the dataset datasource you might have specified to connect to your database with sqlserver authentication and did not select to save the login information.

0
votes

Are you trying to set an external dataset as a datasource for your report? If this is the case then check this article: http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx