摘要
在数据库编程中,经常需要图像与文字信息的同步显示。讨论了从磁盘文件中读取图像信息,以及将图像信息存入MySQL数据库的Blob段中,然后从中读取。同时,编写了一个应用程序,实现图像与文字信息的同步显示,该程序使用Java作为编程语言。
We often need to display picture and text information synchronously when we engage in database programming.In this paper,we will discuss how to read the picture information from the disk file,and how to store the picture information to a Blob field in a MySQL database,then read them from the same place.meanwhile we will write an application in order to implement the synchronous display of picture and text information,this application is written in the java programming language.
出处
《电脑编程技巧与维护》
2013年第16期44-46,共3页
Computer Programming Skills & Maintenance