Try to do something like this:

 

1. Populate your datatable dt and then 

ReportDocument rpt = new Rpt.rptD ();

rpt.SetDataSource((DataTable)dt);

Form frm_rpt = new frmReport(rpt);

frm_rpt.ShowDialog();

 

Regards,

Paul

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kixzo Database Team
Sent: 02 June 2008 14:14
To: firebird-net-provider@lists.sourceforge.net
Subject: [Firebird-net-provider] crystal report problem

 

Hello All,

 

I am using VS .NET 2005 and crystal Report for generating reports. I am
facing some problem in displaying data on the report.

Using Firebird provider I am able to establish connection to the firebird
server and also to get the table list.

Using the Field Explorer  have placed the fields on the report at design
time. But when I am running the application and it is asking for connection
to the database when I provide a proper user name and Password for the
firebird database after that I am getting following error message that

 

Table "Cost" could not be found.(Cost is my table from which I am fetching
the data).

 

Can any one help me is sorting out this.

 

Regards,

Rakesh Singh.

http://www.4colordesign.com

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to