Hi,
I have a question about viewing the crystal report. My DataBase is in the folder which contains the Executable file.How can I give the database path when i create the crystal report?

Thanx in Advance

use the following code.
Here StockReport is my CrystalReport and i am using a dataset to fill my CrystalReport I assume you know how to do that so i have not include the code of it.

StockReport = new StockReport(); string Path = Application.StartupPath + "\\InventoryControl.mdb"; StockReport.DataSourceConnections[0].SetConnection(Path,"", false); StockReport.SetDataSource(dataSet); fcrystalReportViewer1.ReportSource = StockReport; [\code][code=csharp]
StockReport = new StockReport();
string Path = Application.StartupPath + "\\InventoryControl.mdb";
StockReport.DataSourceConnections[0].SetConnection(Path,"", false);
StockReport.SetDataSource(dataSet);
fcrystalReportViewer1.ReportSource = StockReport;
[\code]