Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
AesopTurtle20-Jun-07 15:51
AesopTurtle20-Jun-07 15:51 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
Christian Graus20-Jun-07 16:26
protectorChristian Graus20-Jun-07 16:26 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
AesopTurtle20-Jun-07 16:29
AesopTurtle20-Jun-07 16:29 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
Luc Pattyn21-Jun-07 0:22
sitebuilderLuc Pattyn21-Jun-07 0:22 
QuestionMultiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 13:51
saymajum20-Jun-07 13:51 
AnswerRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
Christian Graus20-Jun-07 13:55
protectorChristian Graus20-Jun-07 13:55 
GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 14:09
saymajum20-Jun-07 14:09 
GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
Christian Graus20-Jun-07 14:19
protectorChristian Graus20-Jun-07 14:19 
saymajum wrote:
.I need to do the calculations for each and every nodes where Attribute is mention as coverage.


OK, so you need to use SelectNodes where the attribute exists. XPath allows you to do this.

Use SelectNodes, not GetElementsByTagName. XPath is a lot more flexibile than that.

use double.TryParse, not convert.ToDouble, that will tell you without throwing an exception if the conversion is not possible.



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 14:33
saymajum20-Jun-07 14:33 
Questionlooping in Xml nodes in C# Pin
saymajum20-Jun-07 13:39
saymajum20-Jun-07 13:39 
AnswerRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 13:47
protectorChristian Graus20-Jun-07 13:47 
GeneralRe: looping in Xml nodes in C# Pin
saymajum20-Jun-07 13:54
saymajum20-Jun-07 13:54 
GeneralRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 13:56
protectorChristian Graus20-Jun-07 13:56 
GeneralRe: looping in Xml nodes in C# Pin
saymajum20-Jun-07 14:01
saymajum20-Jun-07 14:01 
GeneralRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 14:05
protectorChristian Graus20-Jun-07 14:05 
Questionserial to button Pin
dirtylarry20-Jun-07 13:35
dirtylarry20-Jun-07 13:35 
AnswerRe: serial to button Pin
Colin Angus Mackay20-Jun-07 14:17
Colin Angus Mackay20-Jun-07 14:17 
AnswerRe: serial to button Pin
Luc Pattyn20-Jun-07 14:31
sitebuilderLuc Pattyn20-Jun-07 14:31 
GeneralRe: serial to button Pin
dirtylarry20-Jun-07 15:09
dirtylarry20-Jun-07 15:09 
GeneralRe: serial to button Pin
Christian Graus20-Jun-07 16:41
protectorChristian Graus20-Jun-07 16:41 
GeneralRe: serial to button Pin
Luc Pattyn21-Jun-07 0:28
sitebuilderLuc Pattyn21-Jun-07 0:28 
QuestionArray of Multiple Forms Pin
MAW3020-Jun-07 13:30
MAW3020-Jun-07 13:30 
AnswerRe: Array of Multiple Forms Pin
Christian Graus20-Jun-07 13:37
protectorChristian Graus20-Jun-07 13:37 
Questioncontrolling serial port over network in c#? Pin
dirtylarry20-Jun-07 13:23
dirtylarry20-Jun-07 13:23 
QuestionMaking a .DLL out of C# project and using it in VC++ Pin
lechium12120-Jun-07 12:12
lechium12120-Jun-07 12:12 

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.