I have created one TreeView in asp.net.I want to store unique index for each and every treenode created in the TreeView.I am using ValuePath.But it may be duplicate case.
So, Please Guide me to store unique index for each and every tree node…
Thanks & Regards,
P.SARAVANAN
If you mean a unique value for each Treenode, then you can use
GUIDclass to generate a new one usingGuid.NewGuid()method. Use the generatedGUIDas and where you like.