Click here to Skip to main content
15,881,802 members
Home / Discussions / C#
   

C#

 
AnswerRe: ListBox item Flickering Pin
Luc Pattyn23-Oct-07 12:12
sitebuilderLuc Pattyn23-Oct-07 12:12 
QuestionOnly see "Content Files" not "Primary Output" Pin
ONeil Tomlinson23-Oct-07 5:32
ONeil Tomlinson23-Oct-07 5:32 
AnswerRe: Only see "Content Files" not "Primary Output" Pin
sujithkumarsl23-Oct-07 5:49
sujithkumarsl23-Oct-07 5:49 
GeneralRe: Only see "Content Files" not "Primary Output" Pin
ONeil Tomlinson23-Oct-07 5:52
ONeil Tomlinson23-Oct-07 5:52 
GeneralRe: Only see "Content Files" not "Primary Output" Pin
sujithkumarsl23-Oct-07 6:05
sujithkumarsl23-Oct-07 6:05 
QuestionProbleme mouse event When hosting Win32 in WPF Pin
k_samsamsam_k23-Oct-07 4:04
k_samsamsam_k23-Oct-07 4:04 
AnswerRe: Probleme mouse event When hosting Win32 in WPF Pin
Fred Griggs15-Jun-08 0:50
Fred Griggs15-Jun-08 0:50 
Questionhow to access a ms access database in c# and use the fetched infos Pin
stephan_00723-Oct-07 3:33
stephan_00723-Oct-07 3:33 
hy everyone!

i was asked to do the following:

i do have an access database which contains a list of account infos. the view looks like this:

acc_id subacc_id acc_name acc_child

the first column contains an index number, the second one is either 0 or an acc_id number (if 0 then it is a parent account, otherwise it is a child account of the parent account, which number is found in the subacc_id). the third filed is the name of the account. and the last one is a counter of how many children are available for the parent account.

what i want to do now:
i want to create a (hierarchical) treeview of this situation. so when it is a parent then it is layer 1, if it is a child then it will be located in layer 2 (so child to the refered parent). on the other hand i do also want to insert the infos of the selected element in some outputfield, meaning the columns of the selected element.

my problem is, i did a lot of c# programming, but i have never done this before. the user interface is quit simple Laugh | :laugh: but it has to be filled as well.

so to summarize what i want to do:
1) enter the elements out of the database (row by row) in a (hierarchical) tree view (with parent nodes and child nodes)
2) when an element in the treeview is selected then the infos (which acc_id, which childacc_id, which acc_name and the number of children) have to be displayed in some textfields.

could someone help me out of this please?

by the way: is the collapsing and expanding of the treeview done automatically or do i have to code this as well.

thanks again for your help.

stephan.
AnswerRe: how to access a ms access database in c# and use the fetched infos Pin
pmarfleet23-Oct-07 4:03
pmarfleet23-Oct-07 4:03 
GeneralRe: how to access a ms access database in c# and use the fetched infos Pin
stephan_00723-Oct-07 4:21
stephan_00723-Oct-07 4:21 
GeneralRe: how to access a ms access database in c# and use the fetched infos Pin
pmarfleet23-Oct-07 4:54
pmarfleet23-Oct-07 4:54 
QuestionAccessing control of another form Pin
Rahul Babu23-Oct-07 2:46
Rahul Babu23-Oct-07 2:46 
AnswerRe: Accessing control of another form Pin
J4amieC23-Oct-07 3:01
J4amieC23-Oct-07 3:01 
AnswerRe: Accessing control of another form Pin
Martin#23-Oct-07 3:01
Martin#23-Oct-07 3:01 
QuestionInstallation: store Serial Number Pin
JoZ CaVaLLo23-Oct-07 2:08
JoZ CaVaLLo23-Oct-07 2:08 
AnswerRe: Installation: store Serial Number Pin
martin_hughes23-Oct-07 5:28
martin_hughes23-Oct-07 5:28 
GeneralRe: Installation: store Serial Number Pin
JoZ CaVaLLo23-Oct-07 5:41
JoZ CaVaLLo23-Oct-07 5:41 
QuestionConverting Image to Object Pin
sindhutiwari23-Oct-07 1:53
sindhutiwari23-Oct-07 1:53 
AnswerRe: Converting Image to Object Pin
Guffa23-Oct-07 1:56
Guffa23-Oct-07 1:56 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:20
sindhutiwari23-Oct-07 2:20 
AnswerRe: Converting Image to Object Pin
Guffa23-Oct-07 3:01
Guffa23-Oct-07 3:01 
AnswerRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:03
mvePete O'Hanlon23-Oct-07 2:03 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:19
sindhutiwari23-Oct-07 2:19 
GeneralRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:26
mvePete O'Hanlon23-Oct-07 2:26 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:30
sindhutiwari23-Oct-07 2:30 

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.