hi i have a question to treeview.
I have a List liste and the treeview with the name treeLic. Now I want to fill this treeview with this list. Can I do this and how?
XmlReader xr = XmlReader.Create(new StringReader(final_output));
while (xr.Read())
{
switch (xr.Name)
{
case "FEATURE":
if (xr.HasAttributes)
{
while (xr.MoveToNextAttribute())
{
if (xr.Name == "NAME")
{
liste.Add(xr.Value);
}
}
}
break;
}
}
treeLic. ????? //fill this treeview with this list liste