Upload the picture to the database [2004-4-28] [Form Web] √ invisible ☆☆☆☆
The code is as follows: upload.htm 'Upload page
Before outputting to the browser, you must specify response.contentType = "image / *" to normalize image response.binaryWrite Rec ("img"). GetChunk (7500000) RS.Close Set RS = Nothing set conn = nothing%> The database structure is as follows: Access: Sequence field name Type Description 1ID Auto Number Main key value 2IMGOLE object is used to save image data MS SQL Server:
Serial No. Field Name Type Description 1IDINT (Identity) Primary key value 2Imgimage is used to save image data
© 2004 hsdn. All Rights Reserved. 锲 锲 不, Jinshi Ke