How to create a data aware XtraReport

WinForms Team Blog
29 May 2008

Here's a 5 minute screencast to show you how to create a data aware report using XtraReports. In a previous screencast, you can learn how to create a simple report in XtraReports. Now that you have your first report, you'll want to create reports with data from your database. So in this second screencast you'll learn how to create a report and bind the fields to an access database.

The flexible data source support in XtraReports lets you use any data object supported by Visual Studio. And with 15 native XtraReports controls and the ability to render any 3rd party controls (charts, grids, calendars, etc.), you can create great reports with ease. Check out this screencast and learn some of the basics of XtraReports.

image

2 comment(s)
Nate Laff
Nate Laff

Thanks!

How about one that uses XPO as it's datasource when you pass in one object? :)

29 May, 2008
Oliver Sturm (DevExpress)
Oliver Sturm (DevExpress)

Hi Nathan,

I guess the special part about that request is that you only want to use one object? I don't think XtraReports can work with that right now (but I may be mistaken). In any case you could simply wrap the object in a list and then it shouldn't be a problem:

// C# 3 Syntax

myReport.DataSource = new List<MyObjType>() {myObject};

If this reply doesn't help you, I have probably not understood the question :-)

30 May, 2008

Please login or register to post comments.