ASP.NET上传图片时,产生预览
发布时间:2006-10-14 9:00:47   收集提供:gaoqian
<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='file:///'+this.value"> &nbsp;
     </td>
    </tr>
    <tr bgcolor="#f5f5f5">
     <td height="70" align="center" valign="middle">缩略图</td>
     <td height="70" align="center" valign="middle"><img id="imgID" width="82" height="65" border="0" >&nbsp;
     </td>
    </tr>
 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50