I want to use crystal reports in my window application (C#.net). I have my database in MS Access.
I want to connect Access database with crystal report using stored queries.
How can i do this.

Recommended Answers

All 4 Replies

Thanx finito.
But this tutorial is for CRystal report. That I know.
But I want to attach stored procedures of access with Crystal Report.
Please send me solutions in this context

Sorry I misread. Ok never tried it, Access is not the best pair for C# but it should be very similar try this.

OleDBCommand cmd = new OleDBCommand("YourQuery",YourCon); // Query is the Stroed Procedure            
cmd.CommandType = CommandType.StoredProcedure;
cmd.ExecuteNonQuery();

Never mind.
I got my solution by assigning datatable containing the data to report directly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.