person

person

  • NA
  • 96
  • 0

Databinding to Grid

Aug 17 2009 7:54 AM
Hi.

I have a list of strings - EmployeeNames
I have a list of list - <List<List<Shifts>>

So basically i want to populate a Grid in such a way that each row is assigned a name, as well as all the shifts that are in the list of shifts that relate to that specific line.


E.g.

Employee1 --- List of shifts for index 1 --- list[1][allshifts]
Employee2 ---- list[2][allshifts]

I want all this to be data bound.

Essentially it doesnt matter what im doing with the data....i just want to know how to logically do this.

The list of shifts should be a user control together with the name.

Thanks in advance.

Urema.

Answers (6)