Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 24th, 2008, 03:10 AM
Authorized User
Join Date: May 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to prafullaborade
Default code of convert xml data type in string by C#

hello i want code of convert xml data type in string by C#
to show in datagrid

Old May 24th, 2008, 07:34 AM
samjudson's Avatar
Friend of Wrox
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts

I'm sorry, I have no idea what you mean. Can you expand on what you mean, and perhaps give examples of your input and expected output?

/- Sam Judson : Wrox Technical Editor -/
Old May 24th, 2008, 07:49 AM
Friend of Wrox
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts

C# indicates you are using the .NET framework but it is not clear what "xml data type" you are using. It could be the DOM implementation in the .NET framework with System.Xml.XmlNode/XmlElement/XmlDocument, it could be the new LINQ to XML framework with System.Xml.Linq.XElement/XDocument, it could be the xml data type in MS SQL Server 2005 in some data base table you are talking about.
So provide some details on what exactly you are using, otherwise we can only guess.

  Martin Honnen
  Microsoft MVP - XML

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert string to xml prafullaborade XML 3 May 21st, 2008 06:56 AM
cannot implecitly convert type bool to string vaidyapragati General .NET 1 May 4th, 2007 09:10 PM
Convert "String" type to "Control" type ? kishore_peddi C# 4 January 11th, 2006 01:21 PM
String Type Statement to convert field CORiverRat Access 5 December 15th, 2005 02:13 AM
Convert Char Data Type to smalldatetime rylemer SQL Language 3 March 3rd, 2005 03:13 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.