Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Class Names Pin
Stefan Troschuetz27-Feb-07 3:49
Stefan Troschuetz27-Feb-07 3:49 
AnswerRe: Class Names Pin
Guffa27-Feb-07 4:01
Guffa27-Feb-07 4:01 
GeneralRe: Class Names Pin
Brady Kelly27-Feb-07 4:12
Brady Kelly27-Feb-07 4:12 
QuestionRS232 Com Port Control Pin
Billy Whizz27-Feb-07 3:33
Billy Whizz27-Feb-07 3:33 
AnswerRe: RS232 Com Port Control Pin
Stefan Troschuetz27-Feb-07 4:36
Stefan Troschuetz27-Feb-07 4:36 
GeneralRe: RS232 Com Port Control Pin
Billy Whizz27-Feb-07 20:37
Billy Whizz27-Feb-07 20:37 
GeneralRe: RS232 Com Port Control Pin
Luc Pattyn28-Feb-07 3:32
sitebuilderLuc Pattyn28-Feb-07 3:32 
QuestionGetting Child nodes count of an element Pin
madhusri27-Feb-07 3:31
madhusri27-Feb-07 3:31 
Hi,

Heres a sample XML document:

<?xml version="1.0" encoding="utf-8"?>
<Sample>
<Name>
<!--Indicates the first name-->
<FName>A</FName>
<!--Indicates the Middle name-->
<MName>M</MName>
<!--Indicates the last name-->
<LName>B</LName>
</Name>
<ID>1</ID>
</Sample>

If i get the count of childnodes of the node <name>, using the following statement: xmlNamenode.Childnodes.count, it returns 6 (i.e) it also includes the comments as a child node. Is there any way to directly get the count of number of elemets (excluding comment nodes) instead of alll the childnodes?

Thanks in advance



Regards
Madhu
AnswerRe: Getting Child nodes count of an element Pin
Ennis Ray Lynch, Jr.27-Feb-07 3:46
Ennis Ray Lynch, Jr.27-Feb-07 3:46 
Questionaccesing form control values in class Pin
balakpn27-Feb-07 3:22
balakpn27-Feb-07 3:22 
QuestionC# CLR Problems... Pin
Illegal Operation27-Feb-07 3:04
Illegal Operation27-Feb-07 3:04 
AnswerRe: C# CLR Problems... Pin
kubben27-Feb-07 3:11
kubben27-Feb-07 3:11 
AnswerRe: C# CLR Problems... Pin
Guffa27-Feb-07 3:12
Guffa27-Feb-07 3:12 
Questionmoving ellipse Pin
t_nedelchev27-Feb-07 2:54
t_nedelchev27-Feb-07 2:54 
AnswerRe: moving ellipse Pin
Luc Pattyn28-Feb-07 3:36
sitebuilderLuc Pattyn28-Feb-07 3:36 
GeneralRe: moving ellipse Pin
t_nedelchev28-Feb-07 21:07
t_nedelchev28-Feb-07 21:07 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 0:52
sitebuilderLuc Pattyn1-Mar-07 0:52 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 2:41
t_nedelchev1-Mar-07 2:41 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:18
sitebuilderLuc Pattyn1-Mar-07 7:18 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 7:35
t_nedelchev1-Mar-07 7:35 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:52
sitebuilderLuc Pattyn1-Mar-07 7:52 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 8:01
t_nedelchev1-Mar-07 8:01 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 8:25
sitebuilderLuc Pattyn1-Mar-07 8:25 
QuestionImages on form are not seen some times Pin
Sirisha.Konda27-Feb-07 2:40
Sirisha.Konda27-Feb-07 2:40 
AnswerRe: Images on form are not seen some times Pin
KeithF27-Feb-07 2:52
KeithF27-Feb-07 2:52 

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.