Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
Generaldynamic plug of component Pin
ppp0013-Feb-05 21:56
ppp0013-Feb-05 21:56 
QuestionHow to modify the tnsnames.ora file by method? Pin
Colinyin3-Feb-05 19:52
Colinyin3-Feb-05 19:52 
General#define in C# Pin
zecodela3-Feb-05 19:44
zecodela3-Feb-05 19:44 
GeneralRe: #define in C# Pin
Dave Kreskowiak4-Feb-05 6:13
mveDave Kreskowiak4-Feb-05 6:13 
GeneralRe: #define in C# Pin
mav.northwind6-Feb-05 2:13
mav.northwind6-Feb-05 2:13 
GeneralRe: #define in C# Pin
Dave Kreskowiak6-Feb-05 3:48
mveDave Kreskowiak6-Feb-05 3:48 
GeneralC# Web development Help Pin
mahesh_kumar_code3-Feb-05 19:32
mahesh_kumar_code3-Feb-05 19:32 
GeneralXML Elements Pin
John L. DeVito3-Feb-05 18:52
professionalJohn L. DeVito3-Feb-05 18:52 
I'm looking for a way to delete a single XmlElement from a document.

I'm using the following to add an element:

<br />
XmlNode node = KatalogForm.configDoc.DocumentElement.SelectSingleNode("categories");<br />
<br />
			XmlElement newCat = KatalogForm.configDoc.CreateElement("category");<br />
			newCat.InnerText = addNewCategoryTextEdit.Text;<br />
			node.InsertAfter(newCat, node.LastChild);<br />
			KatalogForm.configDoc.Save("katalog.config");<br />


But I can't find a comparable RemoveElement() or DeleteElement() or some other XmlDocument member method.

Does anyone have any ideas?

thanks all
GeneralRe: XML Elements Pin
Stefan Troschuetz3-Feb-05 20:53
Stefan Troschuetz3-Feb-05 20:53 
GeneralRe: XML Elements Pin
John L. DeVito3-Feb-05 22:19
professionalJohn L. DeVito3-Feb-05 22:19 
GeneralRe: XML Elements Pin
Stefan Troschuetz3-Feb-05 22:33
Stefan Troschuetz3-Feb-05 22:33 
GeneralRe: XML Elements Pin
John L. DeVito3-Feb-05 22:39
professionalJohn L. DeVito3-Feb-05 22:39 
GeneralRe: XML Elements Pin
Stefan Troschuetz3-Feb-05 22:46
Stefan Troschuetz3-Feb-05 22:46 
GeneralRe: XML Elements Pin
John L. DeVito5-Feb-05 19:13
professionalJohn L. DeVito5-Feb-05 19:13 
GeneralRe: XML Elements Pin
Gavin Jeffrey3-Feb-05 22:01
Gavin Jeffrey3-Feb-05 22:01 
QuestionIs it possible to use XmlSerializer on a usercontrol? Pin
FocusedWolf3-Feb-05 18:02
FocusedWolf3-Feb-05 18:02 
AnswerRe: Is it possible to use XmlSerializer on a usercontrol? Pin
Gavin Jeffrey3-Feb-05 22:05
Gavin Jeffrey3-Feb-05 22:05 
AnswerRe: Is it possible to use XmlSerializer on a usercontrol? Pin
Mihail Dikov4-Feb-05 3:32
Mihail Dikov4-Feb-05 3:32 
GeneralRe: Is it possible to use XmlSerializer on a usercontrol? Pin
FocusedWolf4-Feb-05 11:38
FocusedWolf4-Feb-05 11:38 
GeneralRe: Is it possible to use XmlSerializer on a usercontrol? Pin
FocusedWolf4-Feb-05 11:39
FocusedWolf4-Feb-05 11:39 
GeneralRe: Is it possible to use XmlSerializer on a usercontrol? Pin
FocusedWolf4-Feb-05 11:56
FocusedWolf4-Feb-05 11:56 
GeneralGDI+ vs GDI Pin
Nick Z.3-Feb-05 17:58
Nick Z.3-Feb-05 17:58 
GeneralRe: GDI+ vs GDI Pin
Christian Graus4-Feb-05 18:21
protectorChristian Graus4-Feb-05 18:21 
GeneralRe: GDI+ vs GDI Pin
Nick Z.5-Feb-05 1:34
Nick Z.5-Feb-05 1:34 
GeneralDisconnected databases Pin
PaleyX3-Feb-05 16:11
PaleyX3-Feb-05 16:11 

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.