Now I only need to know how to write more than one GridView (lets say Gridview1, GridView2 and GridView3), to the same file.
Do I just repeat:
GridView1.AllowPaging = false;
GridView1.DataBind();
GridView1.RenderControl(hw);
Response.Output.Write(sw.ToString());
GridView2.AllowPaging = false;
GridView2.DataBind();
GridView2.RenderControl(hw);
Response.Output.Write(sw.ToString());
GridView3.AllowPaging = false;
GridView3.DataBind();
GridView3.RenderControl(hw);
Response.Output.Write(sw.ToString());
and
Response.Flush(); Response.End();
when done?