0

Please help.

i have an application made in C# using ms studio 2008. I have created the data source from my access 2003 database. But every time I select the data in the crystal report wizard. It only displays the fields from the database I have connected but not the data. is there a tutorial or link or someone who can assist me in displaying data from access database to a crystal report.:(

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by mundetas
0

You forget the following code in a Form_Load Event

DataSet1 ds = new DataSet1();
  DataSet1TableAdapters.empTableAdapter a = new WindowsFormsApplication1.DataSet1TableAdapters.empTableAdapter();
            a.Fill(ds.emp);

            CrystalReport11.SetDataSource(ds);
0

thanks for the code. I will try it out tonight keep you posted

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.