Sreekanth Reddy

Sreekanth Reddy

  • 352
  • 4.8k
  • 420.7k

File downloading

Aug 6 2013 7:44 AM
 Response.ContentType = dr["projecttype"].ToString();
  Response.AddHeader("Content-Disposition", "attachment;filename="+dr["filename"]+"");
  Response.BinaryWrite((byte[])dr["size"]);
 Response.End();


Can anybody explain these four steps clearly?
they are related to file downloading concept....
plzzzz its needed very quickly...


Answers (2)