Geeks With Blogs

News


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done August 2008 Entries
Windows XP Backup

 

Windows XP Backup

http://www.microsoft.com/windowsxp/using/setup/learnmore/bott_03july14.mspx

Posted On Thursday, August 28, 2008 8:27 AM

Generic xmlTextReader
Generic xmlTextReader Original article: http://www.dotnetspider.com... ////-----------------------... ////convert XML string to MemoryStream ////-----------------------... MemoryStream memoryStream = new MemoryStream(); byte[] data = Encoding.Unicode.GetBytes(s... memoryStream.Write(data, 0, data.Length); memoryStream.Position = 0; ////-----------------------... ......

Posted On Wednesday, August 13, 2008 2:26 AM

indent xml with .NET
Original Article: http://bytes.com/forum/thre... Is there a simple way to indent xml with dotnet? SQL Server returns a long xml string that is hard > to read.[/color] XmlReader r = new XmlTextReader(new StringReader(myXML)); StringWriter sw = new StringWriter(); XmlTextWriter w = new XmlTextWriter(sw); w.Formatting = Formatting.Indented; while (r.Read()) w.WriteNode(r, false); w.Close(); r.Close(); Console.WriteLine(sw.ToStri... -- Oleg Tkachenko [XML MVP] http://blog.tkachenko.com ......

Posted On Monday, August 11, 2008 2:09 AM

Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net