Author: snehabhasin | Posted on: 3/18/2010 10:22:44 AM | Views : 356

Hi,
I have to save a .doc file on the server when the user clicks a button with no 'Open/ Save / Cancel' dialog box.
my code:
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Charset = "";
HttpContext.Current.Response.ContentType = "application/msword";
string strFileName = String.Format("{0:yyyyMMdd}", DateTime.Now) + Go to the complete details ...