Crystal ReportsGeneral discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

By that I mean... I want the user to enter the servername,databasename,userid, password and this gets read in and this is the info that connects the .net application to the database.
Then, with this info being connected to the database, I want to be able from the crystal report(.rpt) be able to extract the necessary table info without having to go through the DB connection wizard on the report!

ok there are two models that .Net provides.
one is Pull Model and other is Push Model.
Pull Model is one which u used to Connect ur report through wizard.
push is little bit complex but provides great flexbility. so firts create Dataset, populate it with data from database manuulay(through coding) an then assign this dataset object to ur report datasource property. ur report object will automatically exract rows from it.

Dear friend:
I guess there is no hard part on this topic if u know what u'll do!
well, first u need a form to get User & server & ... info that u need from user. so then u'll pass those to ur report page & connect to ...
im going to send u a sample & hope it wull help u to connect to DB.