Click here to Skip to main content
15,881,768 members
Home / Discussions / C#
   

C#

 
AnswerRe: recieving mails from outlook in C# code Pin
Christian Graus1-Oct-09 18:09
protectorChristian Graus1-Oct-09 18:09 
GeneralRe: recieving mails from outlook in C# code Pin
Mycroft Holmes1-Oct-09 21:31
professionalMycroft Holmes1-Oct-09 21:31 
GeneralRe: recieving mails from outlook in C# code Pin
MahaKh5-Oct-09 17:26
MahaKh5-Oct-09 17:26 
QuestionUnreliable WebBroser control Pin
kozu1-Oct-09 12:01
kozu1-Oct-09 12:01 
AnswerRe: Unreliable WebBroser control Pin
Christian Graus1-Oct-09 12:16
protectorChristian Graus1-Oct-09 12:16 
GeneralRe: Unreliable WebBroser control Pin
kozu1-Oct-09 13:46
kozu1-Oct-09 13:46 
GeneralRe: Unreliable WebBroser control Pin
Christian Graus1-Oct-09 14:58
protectorChristian Graus1-Oct-09 14:58 
QuestionProblem adding data from a data set to a List Object Pin
AndyASPVB1-Oct-09 11:08
AndyASPVB1-Oct-09 11:08 
Hi
I have a method that takes in data from XML, puts it temporarily into a dataset, where I then add to a List Object. This bits ok, but where I am falling over, is where there is more than one item of data in an XML node. In my code I am using foreach to iterate through each node, and this is working because I am seeing loop through each element in the node. However, when I am adding it to the List Object, it is only adding the last node to the list rather than every element.

The structure of the xml is that the first two nodes can only have one set of data, but the last two can have one to many, and this is where it goes wrong. I did try mylist.add(adddata) at the end of the loop, but what happened was that the last item was added but repeated x number of times for the number of items in the data.

Can anyone show me a good answer to this problem?

Thanks
AnswerRe: Problem adding data from a data set to a List Object Pin
Dave Kreskowiak1-Oct-09 11:15
mveDave Kreskowiak1-Oct-09 11:15 
QuestionHow do you check to see if a web service is running or not? Pin
AndyASPVB1-Oct-09 10:49
AndyASPVB1-Oct-09 10:49 
AnswerRe: How do you check to see if a web service is running or not? Pin
Dave Kreskowiak1-Oct-09 11:14
mveDave Kreskowiak1-Oct-09 11:14 
AnswerRe: How do you check to see if a web service is running or not? Pin
PIEBALDconsult1-Oct-09 14:55
mvePIEBALDconsult1-Oct-09 14:55 
GeneralRe: How do you check to see if a web service is running or not? Pin
Dave Kreskowiak1-Oct-09 16:23
mveDave Kreskowiak1-Oct-09 16:23 
GeneralRe: How do you check to see if a web service is running or not? Pin
PIEBALDconsult2-Oct-09 3:42
mvePIEBALDconsult2-Oct-09 3:42 
QuestionException while creating table in azure. Pin
VasntKrish1-Oct-09 9:23
VasntKrish1-Oct-09 9:23 
QuestionXML, XSD VALIDATION Pin
waqasm1-Oct-09 8:16
waqasm1-Oct-09 8:16 
AnswerRe: XML, XSD VALIDATION Pin
Henry Minute1-Oct-09 10:50
Henry Minute1-Oct-09 10:50 
GeneralRe: XML, XSD VALIDATION Pin
waqasm1-Oct-09 11:09
waqasm1-Oct-09 11:09 
GeneralRe: XML, XSD VALIDATION Pin
Henry Minute1-Oct-09 11:48
Henry Minute1-Oct-09 11:48 
GeneralRe: XML, XSD VALIDATION Pin
waqasm2-Oct-09 3:56
waqasm2-Oct-09 3:56 
GeneralRe: XML, XSD VALIDATION Pin
Henry Minute2-Oct-09 5:29
Henry Minute2-Oct-09 5:29 
GeneralRe: XML, XSD VALIDATION Pin
waqasm7-Oct-09 6:14
waqasm7-Oct-09 6:14 
QuestionSqlServerCeException "There was an error parsing the query" help .... Pin
hande541-Oct-09 6:22
hande541-Oct-09 6:22 
AnswerRe: SqlServerCeException "There was an error parsing the query" help .... Pin
Md. Marufuzzaman1-Oct-09 7:07
professionalMd. Marufuzzaman1-Oct-09 7:07 
GeneralRe: SqlServerCeException "There was an error parsing the query" help .... Pin
hande541-Oct-09 7:57
hande541-Oct-09 7:57 

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.