摘要:
int target_width = 100; //缩略图宽
int target_height = 75; //缩略图高
1.修改类Thumbnail,添加缩略图成员
2.修改上传控件,创建内存流存储缩略图数据流
3.上传保存,从Thumbnail类中读取数据流,使用文件流保存图片
并保存到数据库中。 阅读全文
摘要:
(1)Server.Transfer方法: (2)Server.Execute方法: (3)Response.Redirect: 阅读全文