Posted on: 4/10/2014 6:48:44 PM | Views : 346

Is it possible to write a response from a gridview to msaccess?
gvdetails.AllowPaging = false; gvdetails.DataBind(); Response.ClearContent(); Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "Database1.accdb")); Response.Charset = ""; Response.ContentType = "application/ms-access"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); gvdetails.RenderControl(htw); Response.Write(sw.ToString()); Response.End();

Go to the complete details ...