Hi,
Can anyone provide a Code Snippet, Tutorial link or information on how to create a report in Microsoft Report from a List of objects?
I have the following Dog class:
namespace MyNS
{
public class Dog
{
public int Legs { get; set; }
public string Name { get; set; }
public string Breed { get; set; }
}
}
Then, in Window Forms, I have a ReportViewer objetct which I would like to populate from a List of MyNS.Dog objects like this:
List<MyNS.Dog> MyDogs = new List<MyNS.Dog>();
// populate array here
// and use it as datasource for ReportViewer
Any ideas?
Thanks!