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)
 
Back
Top