Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
GeneralRe: article on purchasing system Pin
Christian Graus7-May-07 20:21
protectorChristian Graus7-May-07 20:21 
GeneralRe: article on purchasing system Pin
Dave Kreskowiak8-May-07 2:05
mveDave Kreskowiak8-May-07 2:05 
AnswerRe: article on purchasing system Pin
Muammar©7-May-07 19:29
Muammar©7-May-07 19:29 
AnswerRe: article on purchasing system Pin
Nouman Bhatti7-May-07 19:38
Nouman Bhatti7-May-07 19:38 
GeneralRe: article on purchasing system Pin
balanjingot8-May-07 15:39
balanjingot8-May-07 15:39 
AnswerRe: article on purchasing system Pin
AFSEKI8-May-07 23:27
AFSEKI8-May-07 23:27 
GeneralRe: article on purchasing system Pin
balanjingot9-May-07 14:15
balanjingot9-May-07 14:15 
Questionupdating a xml file Pin
Planker7-May-07 13:48
Planker7-May-07 13:48 
I am getting an error at run time on this line of code


newDayIndex.InnerXml = index.ToString();

here is how i'm doing all the xml code

XmlTextReader reader = new XmlTextReader(C_strFileName);
XmlDocument doc = new XmlDocument();
doc.Load(reader);
reader.Close();
XmlNode oldIndex;
XmlElement root = doc.DocumentElement;
oldIndex = root.SelectSingleNode("/config/Days_Index");
XmlElement newDayIndex = doc.CreateElement("Days_Index");
newDayIndex.InnerXml = index.ToString();
root.ReplaceChild(newDayIndex, oldIndex);
doc.Save(C_strFileName);


AnswerRe: updating a xml file Pin
PIEBALDconsult7-May-07 16:29
mvePIEBALDconsult7-May-07 16:29 
QuestionRe: updating a xml file Pin
Planker7-May-07 18:46
Planker7-May-07 18:46 
AnswerRe: updating a xml file Pin
PIEBALDconsult8-May-07 14:01
mvePIEBALDconsult8-May-07 14:01 
GeneralRe: updating a xml file Pin
Planker8-May-07 16:11
Planker8-May-07 16:11 
GeneralRe: updating a xml file Pin
PIEBALDconsult9-May-07 3:47
mvePIEBALDconsult9-May-07 3:47 
Questioncan silverlight and c# work together? Pin
donovan.solms7-May-07 12:58
donovan.solms7-May-07 12:58 
AnswerRe: can silverlight and c# work together? Pin
Christian Graus7-May-07 13:04
protectorChristian Graus7-May-07 13:04 
QuestionBindingSource.Filter problem Pin
Seishin#7-May-07 11:28
Seishin#7-May-07 11:28 
AnswerRe: BindingSource.Filter problem Pin
Anil Ch7-May-07 12:02
Anil Ch7-May-07 12:02 
Questionhow to use TreeView control for show Hierarchy data ? Pin
hdv2127-May-07 11:02
hdv2127-May-07 11:02 
AnswerRe: how to use TreeView control for show Hierarchy data ? Pin
PIEBALDconsult7-May-07 16:35
mvePIEBALDconsult7-May-07 16:35 
QuestionEvent Exception Pin
Justin Perez7-May-07 10:02
Justin Perez7-May-07 10:02 
AnswerRe: Event Exception Pin
Colin Angus Mackay7-May-07 10:19
Colin Angus Mackay7-May-07 10:19 
AnswerRe: Event Exception Pin
bearfx7-May-07 10:31
bearfx7-May-07 10:31 
GeneralRe: Event Exception Pin
Justin Perez8-May-07 7:19
Justin Perez8-May-07 7:19 
Questiondisable next button Pin
FernandoMartin7-May-07 7:54
FernandoMartin7-May-07 7:54 
AnswerRe: disable next button Pin
Giorgi Dalakishvili7-May-07 8:03
mentorGiorgi Dalakishvili7-May-07 8:03 

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.