Save file dialog in asp.net

  • Thread starter Thread starter Kapil
  • Start date Start date
K

Kapil

Hi All
can u tell me how to save dynamically generated file in asp.net.
like save file dialog in asp.net.

kapil
 
Before sending file:
1. Response.ContentType = "application/octet-stream" (or content type of
your file).
2. Response.AppendHeader("content-disposition", "attachment;filename=" &
strFileName)
 

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