Hello everyone,
I am using vs2010 and the reporting technique to generate a pdf file. Within the rdlc file I am using a class object as dataset. For example. I have a database with coffee shops and in which coffee shop works which employee. So i get something like this:
Coffee shops:
Name: [name]
Location [location]
Employees:
coffeeshopId: [coffeeShopId]
Etcetera.
In a DTO it would look like this:
public class CoffeeShop()
{
public string Name {get; set;}
public string Location {get; set;}
public List<Employee> employee {get; set;}
}
I wanted to add this as one dataset (dto) to the rdlc file, but it seems that the vs2010 sees the List as a new dataset. So i cant avoid it to add more datasets to it?
Greetings,
SpaceLama