开发者

Creating an XML-based help system in Visual Studio 2008 Express Edition

I'm creating an application with a help system based on XML. I need to know how to populate TreeView and ListView controls with XML data (specification below).

  • TreeView: <root> and <topic> tags.
  • ListView: <document> tag (wit开发者_JS百科h group and icon dependent on if it's a web link or local file link, but I can do it).

Can somebody help?


XML can be used via ADO.NET or LINQ like any other data source, so using LINQ you can populate a Tree-View.

Here is an excellent HOW-TO article on how to do it:

https://web.archive.org/web/20210616114234/https://aspnet.4guysfromrolla.com/articles/043008-1.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜