Creating A variable view

1 posts, 0 answers
  1. Francisco
    Francisco avatar
    1 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    I have the following problem,

    I get a list of employees from my DB, each employees has:

    Employee
    {
                    String Name{get; set;}
                    String  IList<Work> assignments {get; set;}
    }

    And each Work has:

    Work
    {
                    String Work_name{set; get;}
                    DateTime date{set; get;}
    }

    Now I need to show a grid between to preselected dates day by day

    Like

    Employee       |    01/01/2001  |   02/01/2001       | 03/01/2001     …..

    EmployeeA     |      WORKA     |     NO WORK      |  WORKC       ….

    EmployeB       |      Other W     |     OtherW          |  No WORK  ….
    .
    .
    .

    And the user must can change the work name dynamically

    I must crate the view manually so can you help  me how to do it.

    Thanks and sorry for the bad English.

Back to Top