Save file with asp.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi i have dataset that i want to save to local disk as xml file.
i dont know how to save it to local disk instead of server thanks
 
save ur xml in an hidden field and use file system object at client side

vinu
 
Client-side code cannot access the user's hard drive for security reasons.
So, you would need to do the WriteXml method onto the output stream, along
with the requisite ContentType and Disposition Response headers to provide
the user with a download dialog in their browser.
Peter
 
i am new to that topic would you like to help to direct a pice of code ...
how to do that thanks
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top