I am trying to open a document read from database. The document can be of any type such as JPG, PDF, EXCEL, WORD, TEXT, etc. I am wondering what value I should assign to Response.ContentType? What are the possible values? Could I just use the following for all file types?
Response.ContentType = "application/octet-stream";
Or should I assign different value for each individual file types?
View Complete Post