开发者

XtraReports Null Reference Exception

Anyone who used the XtraReports, i have created a databinding on one of my LINQ to SQL objects and dragged some properties over the report, but when i set the datasource to an object i get NullReferenceException in ShowPreview() method. If i don't set the DataSource i see the preview correctly (basically only the picturebox i set as background). Could this happen because some values are null? even i don't use them? if so is true, this is so pity.

The开发者_如何学编程 Exception does not help more.


Yes, you can utilize LINQ to SQL API to bind an XtraReport document to data.

Check out the sample project located in this issue: http://www.devexpress.com/Support/Center/p/S30767.aspx

If you need more help, drop by the DevExpress support center: http://www.devexpress.com/Support/Center/CreateIssue.aspx?issuetype=Question

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜