User Profile

Collapse

Profile Sidebar

Collapse
emphyrio
emphyrio
Last Activity: Feb 24 '08, 01:45 PM
Joined: Feb 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • emphyrio
    replied to XML file corrupt after deleting a record
    in .NET
    I solved the problem: by not using a filestream, but writing directly to the file! It's strange that is goes wrong whern using the filestream, but I'm glad I solved it though...
    See more | Go to post

    Leave a comment:


  • emphyrio
    replied to XML file corrupt after deleting a record
    in .NET
    Additional information: I examined the XML file after the delete and this is what happens:

    <maxdata xmlns="http://tempuri.org/maxdata.xsd">
    <addresses street="serpeli ng" housenumber="10 " />
    <addresses street="markstr aat" housenumber="12 7" />
    </maxdata>es street="kerkstr aat" housenumber="4" />
    </maxdat
    ...
    See more | Go to post

    Leave a comment:


  • emphyrio
    started a topic XML file corrupt after deleting a record
    in .NET

    XML file corrupt after deleting a record

    Hi, I am new to programming in vb. net. I have this problem:

    I created a form with a datagrid. I can add records and then save them to a XML file, using this code on the click event of a button (my dataset is called Maxdata1):

    Dim fs As Stream
    Me.BindingConte xt(Maxdata1, "addresses").En dCurrentEdit()
    fs = New FileStream("D:\ temp\maxdata.xm l", FileMode.OpenOr Create)...
    See more | Go to post
No activity results to display
Show More
Working...