locked
Lists within Lists? RRS feed

  • General discussion

  • First post here so please be gentle, I've got a LOT to learn!

    I've reached a situation where I have the need for Listboxes within Listboxes, there's a couple of problem around this.

    My knowledge around the "correct" procedure using databinding is more than a little sketchy (we had a training course but the trainer never actually showed us the correct method for databinding to a non RIA webservice).

    Anyway the situation is this:

    I have a Listbox which needs to show specific values and then within that another listbox which need to do the same... So:

    List A:

    string TestStringA

    int TestintA

    string TestStringA2

    List<ListB>

    ListB

    string TestStringB

    int TestintB

    string TestStringB2

    List<ListC>

    ListC

    string TestStringC

    int TestintB

    string TestStringC2

    Does that make sense?  I just have absolutely no idea how to build this up and I really want to do it "properly" rather than bodged.  I think I've probably started to develop some bad habits already and don't want to continue down that path.

    Monday, July 23, 2012 6:54 AM

All replies