Author: prsekhar01 | Posted on: 7/10/2008 6:43:45 AM | Views : 786

Hi All,

How are you doing today?

I am opening word document in asp.net by using this below code

                      HttpContext.Current.Response.AddHeader("Accept-Header", fileData.Length.ToString());
                        HttpContext.Current.Response.ContentType = "application/msword";
                        HttpContext.Current.Response.OutputStream.Write(fileData, 0, fileData.Length);
                        HttpContext.Current.Response.Flush();
    &n ...

Go to the complete details ...