ASP vs ASP.NET

Discussion in 'ASP .Net' started by Michael, Aug 1, 2003.

  1. Michael

    Michael Guest

    How would I do this in Asp.Net:

    Response.Expires = -1000
    Dim XmlDoc
    Set XmlDoc = Server.CreateObject("Msxml2.DOMDocument")
    XmlDoc.async = false
    XmlDoc.Load(Server.MapPath("myfile.xml"))
    XMlDoc.Save(Response)

    I have a page that builds an Xml DataIsland on the client
    and sets the src to 'http://myserver/myxml.asp'. I want
    to conver the site to .Net but need to reproduce this
    function. I've tried the Web Services route but can't get
    it to work like my simple ASP file does.

    TIA
     
    Michael, Aug 1, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Elmhorst
    Replies:
    2
    Views:
    541
    Bassel Tabbara [MSFT]
    Jul 8, 2003
  2. dave
    Replies:
    0
    Views:
    1,326
  3. Ben
    Replies:
    3
    Views:
    1,231
  4. Andrea Raimondi
    Replies:
    1
    Views:
    550
  5. Amelyan
    Replies:
    2
    Views:
    208
    Amelyan
    Apr 25, 2005
Loading...

Share This Page