Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
GeneralRe: About the ProgressBar of c# Pin
Luc Pattyn15-Mar-11 2:23
sitebuilderLuc Pattyn15-Mar-11 2:23 
AnswerRe: About the ProgressBar of c# Pin
Keith Barrow13-Mar-11 23:52
professionalKeith Barrow13-Mar-11 23:52 
GeneralRe: About the ProgressBar of c# Pin
songguohui15-Mar-11 2:13
songguohui15-Mar-11 2:13 
GeneralRe: About the ProgressBar of c# Pin
Keith Barrow15-Mar-11 3:26
professionalKeith Barrow15-Mar-11 3:26 
QuestionWith Asp Running Program Change Excel Setting Pin
khoshrodi13-Mar-11 20:13
khoshrodi13-Mar-11 20:13 
AnswerRe: With Asp Running Program Change Excel Setting Pin
Pete O'Hanlon14-Mar-11 8:03
mvePete O'Hanlon14-Mar-11 8:03 
QuestionHow can i read xml type string from database? Pin
buffering8313-Mar-11 20:02
buffering8313-Mar-11 20:02 
AnswerRe: How can i read xml type string from database? [modified] Pin
Tarun.K.S13-Mar-11 21:59
Tarun.K.S13-Mar-11 21:59 
Finally figured it out!

Suppose you get the above string, lets name it as xmlBody.
Next step will be to create a proper xml.
C#
String CompleteXml="<xml version=\"1.0\"?>" + xmlBody;


Now to read using XmlTextReader, StringReader is the solution that i found.
Here is how it goes :

C#
XmlTextReader reader=new XmlTextReader(new System.IO.StringReader(CompleteXml));

Now you can read it. Smile | :)

By the way, using XmlTextReader is a good choice of yours as it is fast and suitable for Large Xml files.

People with high attitude deserve the standing ovation of our highest finger!

My Technical Blog![^]
modified on Monday, March 14, 2011 5:48 AM

QuestionGet Remote server sub directories Pin
vishnukamath13-Mar-11 19:46
vishnukamath13-Mar-11 19:46 
AnswerRe: Get Remote server sub directories Pin
JP_Rocks27-Mar-11 0:34
JP_Rocks27-Mar-11 0:34 
QuestionValidate User ID/ password on windows form Pin
shivamkalra13-Mar-11 15:07
shivamkalra13-Mar-11 15:07 
AnswerRe: Validate User ID/ password on windows form Pin
Luc Pattyn13-Mar-11 15:46
sitebuilderLuc Pattyn13-Mar-11 15:46 
GeneralRe: Validate User ID/ password on windows form Pin
shivamkalra13-Mar-11 16:22
shivamkalra13-Mar-11 16:22 
AnswerRe: Validate User ID/ password on windows form Pin
Luc Pattyn13-Mar-11 16:36
sitebuilderLuc Pattyn13-Mar-11 16:36 
GeneralRe: Validate User ID/ password on windows form Pin
GenJerDan13-Mar-11 18:10
GenJerDan13-Mar-11 18:10 
GeneralRe: Validate User ID/ password on windows form Pin
shivamkalra13-Mar-11 20:10
shivamkalra13-Mar-11 20:10 
GeneralRe: Validate User ID/ password on windows form Pin
GenJerDan14-Mar-11 13:14
GenJerDan14-Mar-11 13:14 
GeneralRe: Validate User ID/ password on windows form Pin
shivamkalra14-Mar-11 17:46
shivamkalra14-Mar-11 17:46 
GeneralRe: Validate User ID/ password on windows form Pin
GenJerDan15-Mar-11 3:59
GenJerDan15-Mar-11 3:59 
GeneralRe: Validate User ID/ password on windows form Pin
shivamkalra15-Mar-11 18:01
shivamkalra15-Mar-11 18:01 
QuestionOn paint in tabpage? Pin
Software200713-Mar-11 13:31
Software200713-Mar-11 13:31 
AnswerRe: On paint in tabpage? Pin
Luc Pattyn13-Mar-11 13:35
sitebuilderLuc Pattyn13-Mar-11 13:35 
AnswerRe: On paint in tabpage? Pin
DaveyM6913-Mar-11 13:37
professionalDaveyM6913-Mar-11 13:37 
GeneralRe: On paint in tabpage? Pin
Software200713-Mar-11 13:47
Software200713-Mar-11 13:47 
GeneralRe: On paint in tabpage? Pin
DaveyM6913-Mar-11 13:53
professionalDaveyM6913-Mar-11 13:53 

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.