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.:(

Recommended Answers

All 3 Replies

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);

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

Thanks it worked now just trying to connect my query

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.