This Domain(Admin5.com) is for Sale:

从Access数据库恢复BMP图像并显示在WEB页面(microsoft)

时间:2007-12-23  来源:不详  作者:迈克DB

WHERE EmployeeID = 1"
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DataConn
RS.Open cmdTemp, , 0, 1
Response.ContentType = "image/bmp"
Set Bitmap = Server.CreateObject("MyProject.MyClass")
Response.BinaryWrite Bitmap.DisplayBitmap(RS("Photo"))
RS.Close
%>



Create an HTML page named "BitmapTest.htm" that contains the following code:

<HTML>
<HEAD>
<TITLE>Bitmap Test</TITLE>
</HEAD>
<BODY>
<HR>
<img src="Bitmap.">
<HR>
</BODY>
</HTML>    恢复

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息