After setting the ContentType ... make use of Content-disposition parameter of Response.AddHeader. Just check the syntax .. i guess it would be something like this:
Response.AddHeader("Content-disposition", "attachment; filename=test.doc");
note instead of attachment we can also set inline or something. Just chk the documentation.
Best Regards
Vadivel
MVP ASP/ASP.NET
http://vadivel.thinkingms.com