first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

ASP.NET Code: Saving Form Data in a Click Event

protected void CmdSave_Click(object sender, EventArgs e) { Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", @"attachment; filename=""XmlFile.html"""); Response.Flush(); Response.End(); }

mod date: 2006-03-07T19:48:02.000Z