Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cannot save changes to code programatically Pin
stancrm3-Sep-09 0:55
stancrm3-Sep-09 0:55 
GeneralRe: Cannot save changes to code programatically Pin
rastaVnuce3-Sep-09 0:59
rastaVnuce3-Sep-09 0:59 
GeneralRe: Cannot save changes to code programatically Pin
Richard MacCutchan3-Sep-09 2:37
mveRichard MacCutchan3-Sep-09 2:37 
Questionpass multiplae parameter in crystal report Pin
mjawadkhatri2-Sep-09 23:20
mjawadkhatri2-Sep-09 23:20 
AnswerRe: pass multiplae parameter in crystal report Pin
Calla3-Sep-09 0:44
Calla3-Sep-09 0:44 
GeneralRe: pass multiplae parameter in crystal report Pin
OriginalGriff3-Sep-09 1:06
mveOriginalGriff3-Sep-09 1:06 
QuestionXElement vs XmlWriter Question Pin
Programm3r2-Sep-09 23:03
Programm3r2-Sep-09 23:03 
AnswerRe: XElement vs XmlWriter Question Pin
Keith Barrow2-Sep-09 23:28
professionalKeith Barrow2-Sep-09 23:28 
xElement.Element("plant").Element("building") is returning the 1st building tag in the XML. Similarly xElement.Element("plant").Element("building").Element("controller") returns the 1st controller, so all readers will be added to the first controller element in the XML.

You will be better off creating the controller element in the foreach (var controller in ControllerList) loop, adding it to the building. Adding the reader elements to the controller element you have just created inside the foreach (var reader in controller.Value.ReaderList) should fix your problem.
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r2-Sep-09 23:37
Programm3r2-Sep-09 23:37 
GeneralRe: XElement vs XmlWriter Question Pin
Keith Barrow2-Sep-09 23:43
professionalKeith Barrow2-Sep-09 23:43 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 0:31
Programm3r3-Sep-09 0:31 
AnswerRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 1:42
Programm3r3-Sep-09 1:42 
GeneralRe: XElement vs XmlWriter Question Pin
Keith Barrow3-Sep-09 2:15
professionalKeith Barrow3-Sep-09 2:15 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 3:21
Programm3r3-Sep-09 3:21 
QuestionUpdate the XElement - Question Pin
Programm3r3-Sep-09 5:04
Programm3r3-Sep-09 5:04 
AnswerRe: XElement vs XmlWriter Question Pin
PIEBALDconsult3-Sep-09 6:30
mvePIEBALDconsult3-Sep-09 6:30 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r7-Sep-09 2:20
Programm3r7-Sep-09 2:20 
QuestionNavigating Internet Explorer Pin
Vijay Mudunuri2-Sep-09 22:50
Vijay Mudunuri2-Sep-09 22:50 
AnswerRe: Navigating Internet Explorer Pin
Jacobb Michael2-Sep-09 23:31
Jacobb Michael2-Sep-09 23:31 
GeneralRe: Navigating Internet Explorer Pin
Vijay Mudunuri3-Sep-09 2:00
Vijay Mudunuri3-Sep-09 2:00 
Questionconnectionstring Pin
sepehr_sepehr2-Sep-09 22:13
sepehr_sepehr2-Sep-09 22:13 
AnswerRe: connectionstring Pin
Mohammad Dayyan2-Sep-09 22:22
Mohammad Dayyan2-Sep-09 22:22 
QuestionAn issue in windows service ? Pin
Mohammad Dayyan2-Sep-09 21:59
Mohammad Dayyan2-Sep-09 21:59 
AnswerRe: An issue in windows service ? Pin
N a v a n e e t h3-Sep-09 0:23
N a v a n e e t h3-Sep-09 0:23 
GeneralRe: An issue in windows service ? [modified] Pin
Mohammad Dayyan3-Sep-09 1:22
Mohammad Dayyan3-Sep-09 1:22 

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.