开发者

Creating a nested ListView in ASP.Net

I have a ListView that will represent a menu with sub menus which in turn will have theirs, etc. The menus will be generated from a database table that has a recursiv开发者_运维百科e relationship.

How do I bind the IEnumerable that I retrieve from the database, so that the listview generates other listviews within itself to represent the sub menus ?

Also, what should I add to the template to make it 'display itself' in a child?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜