作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (24): 217-219.

• 论文 • 上一篇    下一篇

基于ASP.NET和Oracle数据库的图片上传和查看

颜波;孙宏波;杨融菲;肖田元;   

  1. 华南理工大学电子商务学院,清华大学自动化系,清华大学自动化系,清华大学自动化系 广州 510006,北京 100084,北京 100084,北京 100084
  • 发布日期:2005-12-25

Uploading and Browsing Images Based on ASP.NET and Oracle Database

YAN Bo1,SUN Hongbo2,YANG Rongfei2,XIAO Tianyuan2   

  1. (1.College of E-business,South China University of Technology,Guangzhou 510006;2.Dept.of Automation,Tsinghua Univ.,Beijing 100084)
  • Published:2005-12-25

摘要: 为了实现基于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.

中图分类号: