Click here to Skip to main content
15,892,643 members
Home / Discussions / C#
   

C#

 
GeneralRe: Show hidden forms Pin
methodincharge25-May-05 2:02
methodincharge25-May-05 2:02 
GeneralRe: Show hidden forms Pin
methodincharge25-May-05 14:03
methodincharge25-May-05 14:03 
GeneralShow xml node in text box without losing formatting Pin
PrachiB23-May-05 12:41
PrachiB23-May-05 12:41 
GeneralRe: Show xml node in text box without losing formatting Pin
DavidNohejl23-May-05 12:58
DavidNohejl23-May-05 12:58 
GeneralRe: Show xml node in text box without losing formatting Pin
PrachiB23-May-05 13:16
PrachiB23-May-05 13:16 
GeneralRe: Show xml node in text box without losing formatting Pin
J4amieC23-May-05 21:42
J4amieC23-May-05 21:42 
GeneralRe: Show xml node in text box without losing formatting Pin
DavidNohejl23-May-05 23:24
DavidNohejl23-May-05 23:24 
GeneralRe: Show xml node in text box without losing formatting Pin
eggie524-May-05 12:58
eggie524-May-05 12:58 
Load that XML you have into the DOM, using the XmlDocument class like this...

string XML="<this is="" your="" text="" xml="">";

//now load it into the dom

XmlDocument doc=new XmlDocument();
doc.Load(new StringReader(XML));

//Now it's in the DOM, just save it as an XmlNode

XmlNode node=doc.SelectSingleNode("a");

now just go
textBox.Text=node.OutterXml;

and there you have it. I just typed this out of my head so there might be small errors, but that's the general idea.

/\ |_ E X E GG
Generaltextbox transparent Pin
Sasuko23-May-05 12:07
Sasuko23-May-05 12:07 
GeneralRe: textbox transparent Pin
Christian Graus23-May-05 12:18
protectorChristian Graus23-May-05 12:18 
GeneralDrawing cube with directx Pin
Kiki9923-May-05 11:50
Kiki9923-May-05 11:50 
GeneralRe: Drawing cube with directx Pin
Christian Graus23-May-05 12:20
protectorChristian Graus23-May-05 12:20 
Generalexception not catching Pin
Rob Tomson23-May-05 11:39
Rob Tomson23-May-05 11:39 
GeneralRe: exception not catching Pin
Christian Graus23-May-05 12:00
protectorChristian Graus23-May-05 12:00 
GeneralRe: exception not catching Pin
Rob Tomson23-May-05 12:05
Rob Tomson23-May-05 12:05 
GeneralRe: exception not catching Pin
Christian Graus23-May-05 12:16
protectorChristian Graus23-May-05 12:16 
GeneralRe: exception not catching Pin
Rob Tomson23-May-05 12:32
Rob Tomson23-May-05 12:32 
GeneralRe: exception not catching Pin
Christian Graus23-May-05 13:15
protectorChristian Graus23-May-05 13:15 
GeneralRe: exception not catching Pin
Rob Tomson23-May-05 18:44
Rob Tomson23-May-05 18:44 
GeneralRe: exception not catching Pin
mav.northwind23-May-05 19:40
mav.northwind23-May-05 19:40 
GeneralRe: exception not catching Pin
Rob Tomson23-May-05 20:22
Rob Tomson23-May-05 20:22 
GeneralWindows Media Player component Pin
methodincharge23-May-05 9:39
methodincharge23-May-05 9:39 
GeneralRe: Windows Media Player component Pin
Christian Graus23-May-05 12:01
protectorChristian Graus23-May-05 12:01 
GeneralRe: Windows Media Player component Pin
methodincharge23-May-05 13:19
methodincharge23-May-05 13:19 
Generalcontroling the event handler Pin
Gil.Schmidt23-May-05 9:02
Gil.Schmidt23-May-05 9:02 

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.