Click here to Skip to main content
15,880,891 members
Home / Discussions / C#
   

C#

 
QuestionUnexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 7:17
professionalTridip Bhattacharjee26-Oct-12 7:17 
AnswerRe: Unexpected naming of client for a WCF service Pin
Richard MacCutchan26-Oct-12 7:47
mveRichard MacCutchan26-Oct-12 7:47 
AnswerRe: Unexpected naming of client for a WCF service Pin
Ravi Bhavnani26-Oct-12 8:56
professionalRavi Bhavnani26-Oct-12 8:56 
GeneralRe: Unexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 9:34
professionalTridip Bhattacharjee26-Oct-12 9:34 
GeneralRe: Unexpected naming of client for a WCF service Pin
Ravi Bhavnani26-Oct-12 9:43
professionalRavi Bhavnani26-Oct-12 9:43 
GeneralRe: Unexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 9:59
professionalTridip Bhattacharjee26-Oct-12 9:59 
AnswerRe: Unexpected naming of client for a WCF service Pin
Russell Bill26-Oct-12 11:47
Russell Bill26-Oct-12 11:47 
QuestionReading from XML file Pin
gibsray26-Oct-12 5:32
gibsray26-Oct-12 5:32 
Hi I'm trying to build a program which will read and assign to variables the values from an XML file which goes like this (without the *):
<*n1> random number here <*/n1>
<*n2> random number here <*/n2>
I tried to use the XmlTextReader but I got an error when I passed the location of the file
("C:\\Documents and Settings\\myfile.xml") so I tried the XmlDocument and it's function SelectSingleNode("n1") but I got another error.
So what's the best way to get the values from this XML file? (I also want to show an error message if the XML file is not built as I mentioned (<*n1> <*/n1> <*n2> <*/n2>).
thanks
AnswerRe: Reading from XML file Pin
Ravi Bhavnani26-Oct-12 5:47
professionalRavi Bhavnani26-Oct-12 5:47 
AnswerRe: Reading from XML file Pin
fjdiewornncalwe26-Oct-12 6:09
professionalfjdiewornncalwe26-Oct-12 6:09 
AnswerRe: Reading from XML file Pin
Clifford Nelson26-Oct-12 8:56
Clifford Nelson26-Oct-12 8:56 
AnswerRe: Reading from XML file Pin
gopal pradhan8-Nov-12 23:30
gopal pradhan8-Nov-12 23:30 
QuestionReflection and Linq Extension Methods Pin
Gustavo Ushijima26-Oct-12 3:53
Gustavo Ushijima26-Oct-12 3:53 
AnswerRe: Reflection and Linq Extension Methods Pin
onelopez26-Oct-12 4:19
onelopez26-Oct-12 4:19 
QuestionPrinting Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 3:43
Matt U.26-Oct-12 3:43 
AnswerRe: Printing Automatically When A Particular Event Occurs Pin
Eddy Vluggen26-Oct-12 4:48
professionalEddy Vluggen26-Oct-12 4:48 
GeneralRe: Printing Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 6:54
Matt U.26-Oct-12 6:54 
GeneralRe: Printing Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 7:36
Matt U.26-Oct-12 7:36 
AnswerRe: Printing Automatically When A Particular Event Occurs Pin
Clifford Nelson26-Oct-12 9:02
Clifford Nelson26-Oct-12 9:02 
QuestionADO.NET 4 SqlConnection SqlDataAdapter Pin
devvvy25-Oct-12 23:34
devvvy25-Oct-12 23:34 
AnswerRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
Deflinek25-Oct-12 23:43
Deflinek25-Oct-12 23:43 
AnswerRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
Pete O'Hanlon25-Oct-12 23:55
mvePete O'Hanlon25-Oct-12 23:55 
GeneralRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
devvvy26-Oct-12 2:58
devvvy26-Oct-12 2:58 
GeneralRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
Eddy Vluggen26-Oct-12 3:33
professionalEddy Vluggen26-Oct-12 3:33 
GeneralRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
devvvy28-Oct-12 20:00
devvvy28-Oct-12 20:00 

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.