摘要: 为了实现基于ASP.NET和Oracle数据库的图片上传和查看,在应用程序中设计了3个.aspx文件(UpPhoto.aspx、ShowPhoto.aspx和OriginPhoto.aspx),分别实现以下功能:选择图片文件并上传到数据库;从数据库中按图片某种分类(比如示例中的书面合同号)分页读取图片并显示在当前页面的ImageButton框图中;打开新页面查看原始大小的图片。
关键词:
ASP.NET,
Oracle数据库,
图像按钮控件,
图像,
上传
Abstract: In order to upload and browse images based on ASP.NET and Oracle database,three.aspx files(UpPhoto.aspx,ShowPhoto.aspx and OriginPhoto.aspx) are designed in the application program to realize respectively functions as follows: selecting image files and uploading images to database;reading paginated images and displaying them in the ImageButton frame of the current page in terms of a certain category(such as the contact id in the example) from the database;opening a new page to browse the original size image.
中图分类号:
颜波;孙宏波;杨融菲;肖田元;. 基于ASP.NET和Oracle数据库的图片上传和查看[J]. , 2005, 31(24): 217-219.
YAN Bo1,SUN Hongbo2,YANG Rongfei2,XIAO Tianyuan2. Uploading and Browsing Images Based on ASP.NET and Oracle Database[J]. , 2005, 31(24): 217-219.