Is there any way to find Response.ContentType based on file extension dynamically. i don not want to hard code ContentType in my code like below.Response. ContentType = "application/ms-word"; ...