Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C Sharp
RE: Associating value with a node in a treeview windows forms
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
=?Utf-8?B?SmR1YW4=?=
#1
RE: Associating value with a node in a treeview windows forms
Jun 27 '08, 07:57 PM
use TreeNode's Tag property.
e.g: nodeFirstRecord .Tag = dr["indexId"];
=?Utf-8?B?Vmlua2k=?=
#2
Jun 27 '08, 07:57 PM
RE: Associating value with a node in a treeview windows forms
hello Jduan,
I tried to use that, but when i was triying to retrieve the value by
TreeView1.Selec tedNode.tag property, I got the value null.
Am I doing anything wrong
"Jduan" wrote:
use TreeNode's Tag property.
>
e.g: nodeFirstRecord .Tag = dr["indexId"];
Comment
Post
Cancel
=?Utf-8?B?SmR1YW4=?=
#3
Jun 27 '08, 07:57 PM
RE: Associating value with a node in a treeview windows forms
Check you code carefully. Make sure the TreedNode is the same object when you
retrieving it. Post you code here if you still have problem.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment