vb.net - How to read returned stream data -
I am currently reading a section like this: Reading the dataset section Also I want to be able To output text to a log file or to test for debug. Print details. How can I do this? I tried to add a new stream reader after wc.openread but there is no data to read the dataset. Any help would be appreciated. Rick call Data.GetXml .OpenRead ("Using http: //news.yahoo.com/rss/entertainment") Data.ReadXml (strm, XmlReadMode.InferSchema) as String = Data.GetXml Debug.WriteLine (xmlString) with Dim xmlString Second end use Rana Using
WC = New System. Net. WebClient () strm = wc.OpenRead (URL) Data.ReadXml (strm, XmlReadMode.InferSchema) strm.Close ()
Post data .ReadXml (strm, XmlReadMode.InferSchema)
dim xmlString string = Data.GetXml Sample below,
as the new dataset of WC = New System.Net.WebClient () strm = wc using
Comments
Post a Comment