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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top