score:2

Accepted answer

Try this :

 CrystalReport1 cr = new CrystalReport1();

    var results = (from supp in dbdata.tSamples
                  where supp.ID == IDNUMBER
                  select new { supp.Name, supp.Model, supp.Producer }).ToList();

    cr.SetDataSource(results);
    crystalReportsViewer1.ReportSource = cr;

Related Articles