I did not try for world but you can use the following to export via a web site to an Excel file:
Context.Response.ContentType = "application/vnd.ms-excel";
private void Page_Load(object sender, System.EventArgs e)
{
ArrayList al = (ArrayList)Session["Report"];
Session.Remove("Report");
this.Response.ContentType = "application/vnd.ms-excel";
this.Response.AddHeader("Content-Disposition", (string)al[0]);
Response.Write((string)al[1]);
}
- Jon.
http://www.allamericanjobs.net