in Search
ATTENTION: I've decided to put the upgrade on hold due to a compatibility issue of our server environment with the latest CS installer package. CS 2008 now requires SQL Server 2005 as the backend DB but our database server currenlty has SQL Server 2000 installed on it. I'll resume the upgrade once I figure out when Telligent is releasing a patch to the schema compatibility issue. For now, we will continue to use the old version of CS while waiting for the said patch. If you have any questions about this process, please don't hesitate to post them on our forums and I'll answer them as soon as I can. Thanks for your patience and support guys! I'll let you know as soon as this is resolved. - Keith Rull
Latest post 08-10-2008 10:16 PM by keithrull. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-10-2008 4:23 AM

    • dTx
    • Top 500 Contributor
    • Joined on 08-04-2008
    • cebu 032 reppin dallas 214
    • Posts 2
    • Points 25

    xml to dataset..

    mabuhay, im trying to convert the XML from a sample stock news page, http://finance.yahoo.com/rss/headline?s=ROC, and convert it into a dataset so i can populate a gridview. i have this so far...

     Dim myRequest As WebRequest = WebRequest.Create("http://finance.yahoo.com/rss/headline?s=ROC")
            Dim myResponse As WebResponse = myRequest.GetResponse()

            Dim rssStream As Stream = myResponse.GetResponseStream()
            Dim rssDoc As New XmlDocument()
            rssDoc.Load(rssStream).........

    can someone tell me if im goin down the right path or am i doing something totally irrelivant. salamatz.

     

     

    • Post Points: 20
  • 08-10-2008 10:16 PM In reply to

    • keithrull
    • Top 10 Contributor
    • Joined on 08-08-2005
    • San Diego, CA
    • Posts 1,956
    • Points 39,165

    Re: xml to dataset..

     Hi dTx,

    Check this article I wrote a few months ago about reading XML and transforming it to DataSet

    http://devpinoy.org/blogs/keithrull/archive/2008/03/27/how-to-read-xml-data-into-a-dataset.aspx

    http://devpinoy.org/blogs/keithrull/archive/2008/04/17/howto-convert-an-xml-string-to-dataset.aspx

    Basically, all you need to do is read is pass the Uri (URL) to the DataSet.ReadXML() and it'll do the job for you.

    HTH

    devpinoy sig

    • Post Points: 5
Page 1 of 1 (2 items)