Click here to Skip to main content
15,915,975 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
PIEBALDconsult21-Jun-07 10:55
mvePIEBALDconsult21-Jun-07 10:55 
GeneralRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
saytinh21-Jun-07 17:07
saytinh21-Jun-07 17:07 
AnswerRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
Christian Graus20-Jun-07 18:04
protectorChristian Graus20-Jun-07 18:04 
QuestionWhy VS Package can't work without SDK installed? Pin
remex_1980_junyongwu20-Jun-07 17:19
remex_1980_junyongwu20-Jun-07 17:19 
AnswerRe: Why VS Package can't work without SDK installed? Pin
Christian Graus20-Jun-07 18:05
protectorChristian Graus20-Jun-07 18:05 
GeneralRe: Why VS Package can't work without SDK installed? Pin
remex_1980_junyongwu20-Jun-07 21:08
remex_1980_junyongwu20-Jun-07 21:08 
QuestionImplicit/Explicit variable initialization & performance [modified] Pin
AesopTurtle20-Jun-07 15:42
AesopTurtle20-Jun-07 15:42 
AnswerRe: Implicit/Explicit variable initialization & performance Pin
Christian Graus20-Jun-07 15:47
protectorChristian Graus20-Jun-07 15:47 
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 

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.