Crystal report using Linq-to-sql
- by DATT OZA
Hello,
I am bit confusing in generating crystal report from linq-to-sql object in my WpfApplication.
crystalreport1 rpt = new crystalreport1();
datacontextclass1 db = new datacontextclass1();
var q = (from records in db.emp select records).toList();
rpt.setDataSource(q);
crystalviewer.reportsource(rpt);
I have done above steps...
but its prompts error
NotSupportedException Was Unhandled Dataset not support system.nullable<
please help...
thanx in advance..