lothos12345
Junior Contributor
I am populating a tree with information from a dataset populated by an XML file.
The xml sheet contains the columns as follows:
MainNumber
DocumentName
Index
Basically when the treeview is loaded the MainNumber would be the parent and the DocumentName would be the children of the parent. My problem is that this can be updated, when the user clicks on a child node information fills 2 textboxes the MainNumber and the DocumentName. The user can make changes and then commit it to the XML. My question is can I load the index value with the DocumentName without user seeing the index. So I can guarantee that I update the correct information since the index is guaranteed to be unique whereas the other 2 aren't. This application is written in Visual Basic.NET. Any help offered is greatly appreciated.
The xml sheet contains the columns as follows:
MainNumber
DocumentName
Index
Basically when the treeview is loaded the MainNumber would be the parent and the DocumentName would be the children of the parent. My problem is that this can be updated, when the user clicks on a child node information fills 2 textboxes the MainNumber and the DocumentName. The user can make changes and then commit it to the XML. My question is can I load the index value with the DocumentName without user seeing the index. So I can guarantee that I update the correct information since the index is guaranteed to be unique whereas the other 2 aren't. This application is written in Visual Basic.NET. Any help offered is greatly appreciated.