Hi all,
I have a tree view with parent and child nodes. If i click on a nodes, I want the description about that node in a textbox. this should happen for all the nodes. how should I do this.
My code behind I have tried is:
private void fetchtreeview()
{
TVContent.Nodes.Clear();
DataTable topics = dsSOW.Tables["Tableofcontents$"];
drText = dsSOW.Tables["Tableofcontents" + "$"].Select("Mappingcode is NULL");
if (drText.Length > 0)
{
foreach (DataRow drItem in drText)
{
string ss = drItem.ItemArray[1].ToString();
string ss1 = drItem.ItemArray[0].ToString();
if (ss1 != string.Empty)
{
TreeNode node = new TreeNode(ss, ss1);
...
Go to the complete details ...