hi,

i use this code to create a crystal report

CrystalReport2 cr2 = new CrystalReport2();
            Database1DataSet ds1 = new Database1DataSet();
            SqlCeDataAdapter da = new SqlCeDataAdapter(selectquery, con);
            da.Fill(ds1, datatablename);
            crystalReportViewer1.ReportSource = cr2;

the problem is that this code displays just the first record from the records that should be given by the selectquery.
i hope you help me

a second question: how to draw a diagonal ligne in crystal report
thanks

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.