Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CrystalReport1 cr1 = new CrystalReport1();
- var results = (from obj in context.tSamples
- where obj.ID == 112
- select new { obj.Name, obj.Model, obj.Producer }).ToList();
- cr1.SetDataSource(results);
- crystalReportsViewer1.ReportSource = cr1;
Add Comment
Please, Sign In to add comment