context.Response.Write(resultPrice.ToString());bitmap.Save(context.Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);context.Response.WriteFile("文本实例.txt");

调用HttpHanlder的几种返回方式小结