2
Reply

File downloading

Srikanth Reddy

Srikanth Reddy

Aug 6 2013 7:44 AM
926
 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)