On CrystalreportViewer1_load place the following
DBConnection = new FbConnection("connection string")
DBConnection.Open();
string qStr = "SELECT * FROM Retailers";
FbDataAdapter da = new FbDataAdapter(qStr, DBConnection);
DataSet ds = new DataSet();
da.Fill(ds, "Retailers");
CrystalReport1 report = new CrystalReport1();
report.Database.Tables["Retailers"].SetDataSource((DataSet)ds);
crystalReportViewer1.ReportSource = report;
that works
--
View this message in context:
http://www.nabble.com/How-can-I-create-FB-conection-for-Crystal-Reports-use-tf3494375.html#a13234269
Sent from the firebird-net-provider mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider