Click here to Skip to main content
15,913,396 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Help Urgent - OH NO ITS NOT!!!!!!!!!!!!!!! Pin
boiDev15-Oct-08 7:17
boiDev15-Oct-08 7:17 
GeneralRe: C# Help Urgent - OH NO ITS NOT!!!!!!!!!!!!!!! Pin
Ashfield15-Oct-08 8:38
Ashfield15-Oct-08 8:38 
JokeRe: C# Help Urgent - OH NO ITS NOT!!!!!!!!!!!!!!! Pin
Giorgi Dalakishvili15-Oct-08 7:01
mentorGiorgi Dalakishvili15-Oct-08 7:01 
JokeRe: C# Help Urgent Pin
nelsonpaixao15-Oct-08 14:27
nelsonpaixao15-Oct-08 14:27 
QuestionPlease Help Me C# Pin
boiDev15-Oct-08 4:57
boiDev15-Oct-08 4:57 
AnswerRe: Please Help Me C# Pin
Paul Conrad15-Oct-08 6:47
professionalPaul Conrad15-Oct-08 6:47 
QuestionC# Help Pin
boiDev15-Oct-08 4:46
boiDev15-Oct-08 4:46 
AnswerRe: C# Help Pin
Lea Hayes15-Oct-08 11:31
Lea Hayes15-Oct-08 11:31 
How have you attached the database to your tree view control?

You can add an event handler to the tree view to intercept when the currently selected node has changed. Then, depending on how you've got things set up, you could possibly:

#1 - Look up the required data from the database by the ID associated with a tree view node.
#2 - Extract the information from the selected tree view node.

Don't forget that you can use the 'Tag' property of tree view nodes, so you could associate your data using the Tag property. Then it is very easy to access your information. In your selected node changed event handler you can simply populate your list view from the associated 'Tag' property, or even acquire additional information from your data source using the information provided by the 'Tag' property.

I hope that I have understood you correctly, and that this is of some use. Smile | :)

Best regards,
Lea Hayes
QuestionDelegates are trying to make me look stupid Pin
Rob Philpott15-Oct-08 4:17
Rob Philpott15-Oct-08 4:17 
AnswerRe: Delegates are trying to make me look stupid Pin
Ennis Ray Lynch, Jr.15-Oct-08 5:35
Ennis Ray Lynch, Jr.15-Oct-08 5:35 
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott15-Oct-08 5:37
Rob Philpott15-Oct-08 5:37 
GeneralRe: Delegates are trying to make me look stupid Pin
Ennis Ray Lynch, Jr.15-Oct-08 6:14
Ennis Ray Lynch, Jr.15-Oct-08 6:14 
AnswerRe: Delegates are trying to make me look stupid Pin
Le centriste15-Oct-08 6:25
Le centriste15-Oct-08 6:25 
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott16-Oct-08 1:37
Rob Philpott16-Oct-08 1:37 
AnswerRe: Delegates are trying to make me look stupid Pin
Simon P Stevens15-Oct-08 23:32
Simon P Stevens15-Oct-08 23:32 
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott16-Oct-08 1:33
Rob Philpott16-Oct-08 1:33 
Questionis it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 3:38
nesfrank15-Oct-08 3:38 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Simon P Stevens15-Oct-08 3:45
Simon P Stevens15-Oct-08 3:45 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Kevin McFarlane15-Oct-08 3:46
Kevin McFarlane15-Oct-08 3:46 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Giorgi Dalakishvili15-Oct-08 3:46
mentorGiorgi Dalakishvili15-Oct-08 3:46 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 6:29
nesfrank15-Oct-08 6:29 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
Giorgi Dalakishvili15-Oct-08 6:40
mentorGiorgi Dalakishvili15-Oct-08 6:40 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 7:51
nesfrank15-Oct-08 7:51 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
Dan Neely15-Oct-08 7:09
Dan Neely15-Oct-08 7:09 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 7:50
nesfrank15-Oct-08 7:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.