Click here to Skip to main content
15,896,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beginner Question: Distributing Data Driven Applications Pin
Sandesh M Patil23-Apr-10 6:54
Sandesh M Patil23-Apr-10 6:54 
AnswerRe: Beginner Question: Distributing Data Driven Applications Pin
kevinnicol23-Apr-10 6:28
kevinnicol23-Apr-10 6:28 
GeneralRe: Beginner Question: Distributing Data Driven Applications Pin
Kris Traughber23-Apr-10 6:47
Kris Traughber23-Apr-10 6:47 
AnswerRe: Beginner Question: Distributing Data Driven Applications Pin
AspDotNetDev23-Apr-10 6:56
protectorAspDotNetDev23-Apr-10 6:56 
GeneralRe: Beginner Question: Distributing Data Driven Applications Pin
Kris Traughber23-Apr-10 7:03
Kris Traughber23-Apr-10 7:03 
AnswerRe: Beginner Question: Distributing Data Driven Applications Pin
Ravi Bhavnani23-Apr-10 15:35
professionalRavi Bhavnani23-Apr-10 15:35 
QuestionC# VS 2008 3.5 XML/Webservice error Pin
Wheels01223-Apr-10 4:51
Wheels01223-Apr-10 4:51 
AnswerRe: C# VS 2008 3.5 XML/Webservice error Pin
#realJSOP23-Apr-10 6:54
professional#realJSOP23-Apr-10 6:54 
The most glaring thing is the hyphens before the root tags.

Further, your code should probably look more like this:

XElement element = Results.Elements("NewDataSet").Element("Table");
string city = element.Element("CITY").Value;
string state = element.Element("STATE").Value;
... blah blah

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01223-Apr-10 7:13
Wheels01223-Apr-10 7:13 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
#realJSOP23-Apr-10 7:40
professional#realJSOP23-Apr-10 7:40 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01223-Apr-10 7:48
Wheels01223-Apr-10 7:48 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
#realJSOP23-Apr-10 7:56
professional#realJSOP23-Apr-10 7:56 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01223-Apr-10 8:07
Wheels01223-Apr-10 8:07 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Luc Pattyn23-Apr-10 8:16
sitebuilderLuc Pattyn23-Apr-10 8:16 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01223-Apr-10 8:17
Wheels01223-Apr-10 8:17 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
#realJSOP24-Apr-10 0:51
professional#realJSOP24-Apr-10 0:51 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01226-Apr-10 1:43
Wheels01226-Apr-10 1:43 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
#realJSOP26-Apr-10 12:32
professional#realJSOP26-Apr-10 12:32 
GeneralRe: C# VS 2008 3.5 XML/Webservice error Pin
Wheels01227-Apr-10 1:30
Wheels01227-Apr-10 1:30 
QuestionSerialPort Pin
jashimu23-Apr-10 4:32
jashimu23-Apr-10 4:32 
AnswerRe: SerialPort Pin
Ravi Bhavnani23-Apr-10 4:52
professionalRavi Bhavnani23-Apr-10 4:52 
AnswerRe: SerialPort Pin
Luc Pattyn23-Apr-10 4:58
sitebuilderLuc Pattyn23-Apr-10 4:58 
GeneralRe: SerialPort Pin
jashimu23-Apr-10 5:13
jashimu23-Apr-10 5:13 
GeneralRe: SerialPort Pin
jashimu26-Apr-10 4:49
jashimu26-Apr-10 4:49 
GeneralRe: SerialPort Pin
Luc Pattyn26-Apr-10 5:16
sitebuilderLuc Pattyn26-Apr-10 5:16 

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.