ASP.NET上传图片时,产生预览
1 <tr bgcolor=#f5f5f5>
2 <td height=30 align=center valign=middle>图片链接</td>
3 <td height=35 align=center valign=middle>
4 <input type=file name=uploadfile1 runat=server
5 id=uploadfile1 onpropertychange=document.all.imgID.src=file:///+this.value>
6 </td>
7 </tr>
8 <tr bgcolor=#f5f5f5>
9 <td height=70 align=center valign=middle>缩略图</td>
10 <td height=70 align=center valign=middle><img id=imgID width=82 height=65 border=0 ></td>
12 </tr>
2 <td height=30 align=center valign=middle>图片链接</td>
3 <td height=35 align=center valign=middle>
4 <input type=file name=uploadfile1 runat=server
5 id=uploadfile1 onpropertychange=document.all.imgID.src=file:///+this.value>
6 </td>
7 </tr>
8 <tr bgcolor=#f5f5f5>
9 <td height=70 align=center valign=middle>缩略图</td>
10 <td height=70 align=center valign=middle><img id=imgID width=82 height=65 border=0 ></td>
12 </tr>