Re: XML Deserialization

Chirag Bhavsar replied to Stanley Tweedle at 10-May-08 02:06

HI! stanley

 

You may try this code snip this may help you.

Imports System.Xml.Serialization

'Deserialize text file to a new object.
    Dim objStreamReader As New StreamReader("C:\Product.xml")
    Dim p2 As New InvestmentHolding()   
    p2 = x.Deserialize(objStreamReader)
    objStreamReader.Close()

   Refer link http://support.microsoft.com/kb/316730 may this can help you understand


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  XML Deserialization - Stanley Tweedle  09-May-08 03:57 3:57:31 PM
      short example - Peter Bromberg  09-May-08 08:34 8:34:27 PM
      Re: XML Deserialization - Chirag Bhavsar  10-May-08 02:06 2:06:21 AM
      in this way - santhosh kapa  10-May-08 02:54 2:54:49 AM
      Try this sample for c# manual deserialization - Aravind Kumar  11-May-08 05:44 5:44:33 AM
View Posts