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

C#

 
GeneralRe: Design Optimization Pin
Nnamdi Onyeyiri2-Oct-04 12:14
Nnamdi Onyeyiri2-Oct-04 12:14 
GeneralRe: Design Optimization Pin
sreejith ss nair2-Oct-04 18:43
sreejith ss nair2-Oct-04 18:43 
GeneralRe: Design Optimization Pin
hatim_ali3-Oct-04 19:33
hatim_ali3-Oct-04 19:33 
GeneralRe: Design Optimization Pin
sreejith ss nair3-Oct-04 19:48
sreejith ss nair3-Oct-04 19:48 
GeneralRe: Design Optimization Pin
Dave Kreskowiak4-Oct-04 7:07
mveDave Kreskowiak4-Oct-04 7:07 
Generalimage.saveadd function Pin
hudhud2-Oct-04 2:52
hudhud2-Oct-04 2:52 
GeneralRename XmlNode in Dom Pin
Anonymous2-Oct-04 1:52
Anonymous2-Oct-04 1:52 
GeneralRe: Rename XmlNode in Dom Pin
partyganger2-Oct-04 16:34
partyganger2-Oct-04 16:34 
It's not allowed to change a node's name, although I'm not to sure why..... You can only add a new Node with, for example the old node's content and with the desired name, after which you delete the old node.

i.e.
<br />
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();<br />
			doc.LoadXml("<Test><Testing>content</Testing><Test>");<br />
			<br />
			System.Xml.XmlNode oldNode = doc.SelectSingleNode("/Test/Testing");<br />
			<br />
			System.Xml.XmlNode newNode = doc.CreateElement("NewTest");<br />
			newNode.InnerXml = oldNode.InnerXml;<br />
			oldNode.ParentNode.AppendChild(newNode);<br />
			doc.RemoveChild(oldNode);<br />

AnswerRe: Rename XmlNode in Dom Pin
CMercs25-Aug-10 4:26
CMercs25-Aug-10 4:26 
GeneralSingleton Pin
hatim_ali2-Oct-04 0:46
hatim_ali2-Oct-04 0:46 
GeneralRe: Singleton Pin
Brian Nottingham2-Oct-04 18:06
Brian Nottingham2-Oct-04 18:06 
Generalusing system.xml Pin
Mridang Agarwalla2-Oct-04 0:16
Mridang Agarwalla2-Oct-04 0:16 
GeneralRe: using system.xml Pin
hatim_ali2-Oct-04 0:33
hatim_ali2-Oct-04 0:33 
GeneralRe: using system.xml Pin
Kevin McFarlane2-Oct-04 11:50
Kevin McFarlane2-Oct-04 11:50 
Generalusing dlls Pin
Mridang Agarwalla2-Oct-04 0:15
Mridang Agarwalla2-Oct-04 0:15 
GeneralRe: using dlls Pin
hatim_ali2-Oct-04 0:35
hatim_ali2-Oct-04 0:35 
GeneralRe: using dlls Pin
Salil Khedkar4-Oct-04 1:18
Salil Khedkar4-Oct-04 1:18 
GeneralColor of GroupBox caption Pin
Joe Woodbury1-Oct-04 23:12
professionalJoe Woodbury1-Oct-04 23:12 
Generalurgent: question about update data using DataAdapter.Update Pin
fox_chen1-Oct-04 12:52
fox_chen1-Oct-04 12:52 
GeneralRe: urgent: question about update data using DataAdapter.Update Pin
Heath Stewart1-Oct-04 14:46
protectorHeath Stewart1-Oct-04 14:46 
GeneralRe: urgent: question about update data using DataAdapter.Update Pin
fox_chen2-Oct-04 9:53
fox_chen2-Oct-04 9:53 
Generalpropertygrid Pin
GoodQuestion1-Oct-04 11:44
GoodQuestion1-Oct-04 11:44 
GeneralRe: propertygrid Pin
Heath Stewart1-Oct-04 14:50
protectorHeath Stewart1-Oct-04 14:50 
GeneralRe: propertygrid Pin
Nick Parker2-Oct-04 9:57
protectorNick Parker2-Oct-04 9:57 
GeneralRe: propertygrid Pin
Alex Korchemniy2-Oct-04 10:27
Alex Korchemniy2-Oct-04 10:27 

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.