How to bind an xml string to TreeNodeSrc

D

Donal

I'm trying to do the following C#:

m_treeView.TreeNodeSrc = list();
m_treeView.DataBind();

private string list()
{
string xmlList = "<TREENODES><TREENODE text=\"Teach Yourself Active
Server Pages 3.0 in 21 Days\"/></TREENODES>";
return xmlList;
}

Won't work for me. How can i achieve this?

cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top