Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 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 August 11th, 2008, 08:38 AM
Registered User
 
Join Date: Aug 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I load this xml to a dataset?

This xml come from a vb6 component.

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
    <s:ElementType name='row' content='eltOnly'>
        <s:AttributeType name='nPhyID' rs:number='1'>
            <s:datatype dt:type='int' dt:maxLength='4' rs:precision='10'
             rs:fixedlength='true' rs:maybenull='false'/>
        </s:AttributeType>
        <s:AttributeType name='Doctor' rs:number='2' rs:nullable='true'>
            <s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='49'/>
        </s:AttributeType>
    </s:ElementType>
</s:Schema>
<rs:data>
    <z:row nPhyID='165' Doctor='VAZQUEZ GALI SANDRA I'/>
    <z:row nPhyID='202' Doctor='CALCANO PEREZ JULIO'/>
    <z:row nPhyID='248' Doctor='BUONOMO MORALES EMIGDIO '/>
</rs:data>
</xml>


Thanks,

 
Old August 11th, 2008, 08:51 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

And again chepla, must like your last post.. GOOGLE IT.

Xml is at the core of ADO.NET, if you had googled it you would easily find a wealth of tutorials advising on how to work with Xml data..

Rob
http://cantgrokwontgrok.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not load XML kolucoms XML 50 May 28th, 2008 05:25 AM
Fill(dataset) or dataset.load() salemkoten SQL Server 2005 1 November 2nd, 2006 11:04 PM
Load CDATA Section into DataSet monuindia2002 XML 1 April 25th, 2006 05:14 AM
load values into the dataset from the xml dhol General .NET 2 December 31st, 2004 06:37 AM
load values into the dataset from the xml dhol XML 1 December 31st, 2004 05:34 AM





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