Click here to Skip to main content
15,921,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: Communicate with USB dongle Pin
Wes Aday6-Aug-12 3:02
professionalWes Aday6-Aug-12 3:02 
GeneralRe: Communicate with USB dongle Pin
vikki02866-Aug-12 22:08
vikki02866-Aug-12 22:08 
GeneralRe: Communicate with USB dongle Pin
Richard Andrew x647-Aug-12 5:24
professionalRichard Andrew x647-Aug-12 5:24 
GeneralRe: Communicate with USB dongle Pin
vikki02868-Aug-12 3:25
vikki02868-Aug-12 3:25 
QuestionHow to connect with USB- Printer through C# .net without windows spooler? Pin
Vikas borkar6-Aug-12 1:13
Vikas borkar6-Aug-12 1:13 
AnswerRe: How to connect with USB- Printer through C# .net without windows spooler? Pin
Wes Aday6-Aug-12 6:48
professionalWes Aday6-Aug-12 6:48 
GeneralRe: How to connect with USB- Printer through C# .net without windows spooler? Pin
Vikas borkar6-Aug-12 19:25
Vikas borkar6-Aug-12 19:25 
QuestionC# and .Net, trying to select a list of classes from name of node in xml file Pin
Perry Nordmann5-Aug-12 4:52
Perry Nordmann5-Aug-12 4:52 
Hi, i have a little bit of a problem using xml and mysql in c#. let me show you how this works:

This is how my program works,

this is a treeview that you select a node from

|--------------------|
| -FirstNode
|__+FirstChild
|__+SecondChild
|__+ThirdChild
| -SecondNode
|__+FirstChild
|__+SecondChild
|__+ThirdChild
|--------------------|

and in this datagridview it will show data from the database, based on what treeview node you select.

|-------------------------------|
|Year|Class|Open|Locked|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-----|--------|------|---------|
|-------------------------------|

And the database is built like this:

there are databases (named after the two root nodes in the xml treeview),

FirstNode
SecondNode


Under these databases is the information i want into the datagridview.

and now to the problem, i can't select one of the child nodes without getting information from both of the nodes.

as in example, if i press the first node. everything in the database FirstNode is posted into the datagridview as i want, and that goes to the same for SecondNode. But when i press one of the child nodes i get the information from both of the cilds in both roots. is there a way to make them unique so i can get the correct information from only one of the child nodes? i can post code if that would help you.
Thanks, from Perry Wink | ;)

AnswerRe: C# and .Net, trying to select a list of classes from name of node in xml file Pin
Ed Hill _5_5-Aug-12 22:16
Ed Hill _5_5-Aug-12 22:16 
GeneralRe: C# and .Net, trying to select a list of classes from name of node in xml file Pin
Perry Nordmann6-Aug-12 3:27
Perry Nordmann6-Aug-12 3:27 
GeneralC# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:39
Liam Cairns Kelly4-Aug-12 15:39 
AnswerRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:43
professionalWes Aday4-Aug-12 15:43 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:45
Liam Cairns Kelly4-Aug-12 15:45 
GeneralRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:50
professionalWes Aday4-Aug-12 15:50 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:51
Liam Cairns Kelly4-Aug-12 15:51 
GeneralRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:53
professionalWes Aday4-Aug-12 15:53 
GeneralRe: C# Developer looking for a new project Pin
Mycroft Holmes4-Aug-12 17:47
professionalMycroft Holmes4-Aug-12 17:47 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly5-Aug-12 5:13
Liam Cairns Kelly5-Aug-12 5:13 
GeneralRe: C# Developer looking for a new project Pin
jschell5-Aug-12 7:56
jschell5-Aug-12 7:56 
QuestionC# 2010 change linq to sql Pin
dcof4-Aug-12 11:03
dcof4-Aug-12 11:03 
Questiondispose (always?) Pin
thewazz4-Aug-12 7:46
professionalthewazz4-Aug-12 7:46 
GeneralRe: dispose (always?) Pin
PIEBALDconsult4-Aug-12 8:25
mvePIEBALDconsult4-Aug-12 8:25 
GeneralRe: dispose (always?) Pin
OriginalGriff5-Aug-12 22:18
mveOriginalGriff5-Aug-12 22:18 
AnswerRe: dispose (always?) Pin
Ed Hill _5_5-Aug-12 22:12
Ed Hill _5_5-Aug-12 22:12 
AnswerRe: dispose (always?) Pin
OriginalGriff5-Aug-12 22:18
mveOriginalGriff5-Aug-12 22:18 

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.