Results 1 to 3 of 3

Thread: how to create xml file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up how to create xml file

    Hi

    I am working in Asp.Net. I need to create an xml empty file dynamically without using

    add new item. Using code can i create an xml file in the application. I hope to reply for

    my question.

    Thanks [Smile]

    Guvera
    Failing to plan is Planning to fail

  2. #2
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: how to create xml file

    create an empty datatable and check out this link.

    http://aspnet.4guysfromrolla.com/articles/052902-1.aspx

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to create xml file

    Code:
    System.IO.File.Create("something.xml")
    There you go, blank XML file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width