DW中做留言板

来源:百度知道 编辑:UC知道 时间:2024/06/27 07:49:35
我做了一个留言板,想显示头像,但ACCESS中不能存图像,不知道该怎么做,请高手帮忙!!!最好说详细点.做毕业设计用的,谢谢!
在"发表留言"的表单中,如何使在下拉列表(其中存放图像的路径名)中选择1,旁边就显示头像1,选择2,就显示头像2呢????

图象放在一个固定的目录中!!!数据库中只记得该图片的文件名或者编号就可以咯!!!!
<br>
<br>
<br>///////////
<br>你还是自己下载个留言板多看下代码吧!!!

<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr><td>
<%
randomize()
select case strSexIN
case "1"
if strImagesIN="" then strImagesIN=right(101+2*Int(rnd()*11),2) '00-22 的奇随机整数
case "0"
if strImagesIN="" then strImagesIN=right(100+2*Int(rnd()*12),2) '00-22 的偶随机整数
case ""
strImagesIN=right(100+Int(rnd()*23),2) '00-22 的随机整数
end select
%>
<img title="点击选择头像" style="CURSOR: hand" onclick="window.open('guestselect.asp?action=face