开发者

How to Create a Directory Structure from Database for treeview?

I am saving relative path of files in my DB as string.

I want to create a treeview from this input.

There can be multiple folders for a file path.

Please help in how to do this functionality.

Thanks for your help in开发者_开发百科 advance.


your question is a bit generic and vague but if I guess right your issue is how to parse the paths from the db and create the proper hierarchy of treenodes to reflect folder nesting, right?

have a look here: Dynamic Binding Of Hierarchy Data Structure To Treeview Control

you can start with that then ask some more specific questions if something still does not work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜