none
Report setting dataset (dto) RRS feed

  • Question

  • 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

    • Moved by Lisa Zhu Tuesday, October 9, 2012 5:48 AM report control related (From:Visual C# General)
    • Moved by Lisa Zhu Tuesday, October 9, 2012 5:48 AM report control related (From:Visual C# General)
    Monday, October 8, 2012 5:49 AM

All replies

  • Anybody?
    Monday, October 8, 2012 12:07 PM
  • Hi SpaceLama,

    From your description , I ‘d like to move this post to  the most related forum .

    There has more  experts in this aspect  , so you will get  better support and  may have more luck getting answers .

    Thanks for your understanding .

    Regards ,


    Lisa Zhu [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, October 9, 2012 5:47 AM