-
Jan 14th, 2007, 07:39 PM
#1
Thread Starter
Member
Treeview.Tag property
I am reading through a datatable and setting the text property of the node to a name, and the tag property to a Guid. I want to get both values but I keep getting an error (Object Reference not set to an instance of an object) on the tag property. What is the proper way to get the value from the tag property.
string s = e.Node.Text;
string t = e.Node.Tag.ToString();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|