ASP.NET上传图片时,产生预览
作者:Eve Cole
更新时间:2009-06-30 15:42:37
<tr bgcolor="#f5f5f5">
<td height=“30”align=“center”valign=“middle”>图片链接</td>
<td height=“35”align=“center”valign=“middle”><input type=“file”name=“uploadfile1”runat=“server”id=“uploadfile1”onpropertychange=“document.all.imgID.src” ='文件:///'+this.value">
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td height =“70”align =“center”valign =“middle”>最重要</td>
<td height=“70”align=“center”valign=“middle”><img id=“imgID”宽度=“82”height=“65”border=“0”>
</td>
</tr>