转自:http://www.cnblogs.com/Tiramisu/archive/2009/02/06/1385405.html
直接上代码:
页面:Index.aspx
2. UploadImageController.cs
3. 脚本