Storing files, images in SQL an download ???

Hi,

I'm uploading files to SQL and the user can select one to download it can be a txt, jpg, rar file and I want to know how can I always make it to show the downlaod dialog without print it on the screen like if it's a jpeg I'm using

Response.ContentType=dr["ARQ_Typeoffile"].ToString();

Response.BinaryWrite((byte[]) dr["ARQ_Filedata"]);

and it's not working, cause it print on the current screen...

Thanks




Answer this question

Storing files, images in SQL an download ???

  • Storing files, images in SQL an download ???