Search code examples
c#-4.0web-controls

Which webcontrol should I use to list days off in a time period by Supervisor then employee


I am looking to create something that looks like this.

  • Supervisor name
    • Employee name
      • 3/4/2012 sick day
      • 3/5/2012 sick day
      • 3/7/2012 vaction day
    • Employee #2 name
      • 3/6/2012 jury duty

what kind of control should I be using? I have a database that has the relevent data and I can create a view to get it to look like anything I would need.


Solution

  • You should use asp Tree view Control. Its may help you below link

    http://www.asp.net/cssadapters/WalkThru/WalkThrough.aspx#PopulateOnDemandTreeView