public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
byte[] bytes = File.ReadAllBytes("D:\toClient.xls");//toClient.xls 大小为20M
Response.BinaryWrite(bytes);
}
}
运行后直接报:System.OutOfMemoryException
阿波罗的战车
开心每一天1111
凤凰求蛊
随时随地看视频慕课网APP