Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getElementById('Image1').src=a.value;
  alert(document.getElementById('Image1').src);
  }
  </script>

<asp:Image ID="Image1" runat="server" />
<asp:FileUpload ID="FileUpload1" runat="server" onchange="oo(this)" />
  </div>
  </form>
ͼƬ·¾¶¸Ä±äÁË£¬µ«ÎªÊ²Ã´²»ÄܸıäͼƬµÄÏÔʾ£¿¸ßÊÖÖ¸½Ì°¡
ÄãÔÚFileUploadÀïÃæÑ¡ÔñµÄÊDZ¾µØĿ¼Îļþ£¬»¹Î´ÉÏ´«µ½ÍøÕ¾ÖУ¬
Ö±½Ó¸³Öµ¸øimageÎÞ·¨ÏÔʾ


ÎÒÕÒÁË¿´,ºÃÏñ»ñµÃ²»ÁËÕâ¸öÖµ

ÎÒÃ÷°×Â¥Ö÷µÄÒâ˼£¬ÊÇÏ룺ԤÀÀͼƬ ÊÇÂð£¿

ÒÔÇ°×ö¹ý£¬ÏÖÔÚÍüÁË£¬¶øÇÒ˵ʵ»°£¬Ã»Ê²Ã´´óµÄ±ØÒª

Õâ¸öҪѧϰ£¬Ô¤ÀÀͼƬÎÒ¾õµÄºÜÓÐÓÃѽ
{{


Ïà¹ØÎÊ´ð£º

asp.net Ò³ÃæÏÞʱÌá½» ÈçºÎʵÏÖ - .NET¼¼Êõ / ASP.NET

1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£

js ......

¹ØÓÚJavaºÍasp - Java / Java SE

´ó¼ÒºÃ£¬ÎÒÏÖÔÚÓÐÒ»¸öÓÃaspдµÄÁÄÌìÊÒ£¬ÏÖÔÚµÄÏëÌí¼ÓÒ»¸ö¹¦ÄÜ£¬¾ÍÊǵ±ÓÐÈËÉÏÏßµÄʱºò£¬·¢³öÌáʾ£¬±ÈÈçÉùÒôÏìһϣ¬ÏÖÔÚÏëÓÃjavaʵÏÖÕâ¸ö¹¦ÄÜ£¬ÇëÎÊ´ó¼ÒÔõôʵÏÖ£¿
ллÁË£¬ÎÒ»á¼Ó·ÖµÄ
aspºÍjavaÕûºÏµ½Ò»ÆðÈ¥£¿ºÎ±Ø ......

aspÐкÍÁÐÏÔʾÎÊÌâ - Web ¿ª·¢ / ASP

<tr>
<td width="700" valign="top" align="left">
<!--¼ÓÔØÊý¾Ý¿â²úÆ·Áбí°üº¬·ÖÒ³´úÂ뿪ʼ -->

<tabl ......

¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ - .NET¼¼Êõ / ASP.NET

¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ
ÓÐûÓÐÈË¿ÉÒÔд¸öÀà¡£
²¢Ïêϸ½âÊÍһϣ¬±¾È˺ܲ»Àí½â32λmd5
C# code:

public string md5(string str,int code)
2{
3 if(code==16) //16λMD5¼ÓÃÜ£¨È¡32λ¼ÓÃܵÄ9~25× ......

ÓÃASP.NETÔÚÍøÒ³ÉÏÏÔʾËõÂÔͼ - .NET¼¼Êõ / ASP.NET

×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ