Sir,
I need file download code in c#.
Uploaded file are stored in db how can I download specific file
I use this code in asp.net with c# code, file downloaded but first file only download others are not download
Byte[] bytes = (Byte[])dt.Rows[0]["Content"];
Response.Buffer = true;
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.AddHeader("content-disposition", "attachment;filename="+ dt.Rows[0]["FileName"].ToString());
Response.BinaryWrite(bytes);
Response.Flush();
Response.End();
Regard
sekar.c
Regards
Sekar.c