TreeView
-
Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks
-
Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks
your question is not much clear. If u explain it in more detailed, may i or some one other person will be in poition of solving this problem
-<>-shoaib-<>-
-
Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks
Try this string treeNodeValue="value of the tree node"; int intTreeCount=0; foreach (TreeNode tn in TreeView1) { if (TreeView1.Nodes[intTreeCount].Value == treeNodeValue) { Code for Adding child nodes here... } intTreeCount++; }
I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--
-
your question is not much clear. If u explain it in more detailed, may i or some one other person will be in poition of solving this problem
-<>-shoaib-<>-
Hi Shoaib, Thanks for quick reply.I have solved that problem,but i have another problem.I am using a COM dll in my ASP.NET 2.0 application.I have added it through Add Reference. I am developilng a Web Service, when I am using that from web application I am getting the following error Creating an instance of the COM component with CLSID {1FF3BBCC-CE35-47DD-BA47-EFD2B93AF2EC} from the IClassFactory failed due to the following error: 80010105. Can you help me in this regards? Thanks sunil
Sunil kumar verma Software Engineer