Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Feeding String(XML) in to Dataset

Status
Not open for further replies.

ASPNETnewbie

Programmer
May 9, 2006
93
US
I have the code below as my XML string(dynamically generated at run time) and would like to instead save the information in a Dataset as an XML file, How do I make this transition without loosing any part of the string and have it display as it should from the dataset when called?

ASPNETNEWBIE



dynamically generated string STRXML


CODE
String STRXML = "<graph caption='Top 5 Countries for the Year 1996' shownames='1' showvalues='0' decimalPrecision='0' numberPrefix='$'>
<set name='USA' value='38105.68' color='AFD8F8'/>
<set name='Germany' value='35407.15' color='F6BD0F'/>
<set name='Austria' value='25601.34' color='8BBA00'/>
<set name='Brazil' value='20148.82' color='A66EDD'/>
<set name='France' value='17372.76' color='F984A1'/>
</graph>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top