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

asp.net flashͼƬÂÖ»» ½¹µãͼ ¶¯Ì¬´ÓÊý¾Ý¿â»ñÈ¡

ǰ̨´úÂë
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='<%=focus_width %>' height='<%=swf_height %>'>
          <param name="allowScriptAccess" value="sameDomain" />
          <param name="movie" value="../flash/pixviewer.swf" />
          <param name="wmode" value="transparent" />
          <param name="quality" value="high" />
          <param name="menu" value="false" />
          <param name="wmode" value="opaque" />
          <param name="FlashVars" value="pics=<%=pics %>&links=<%=links %>&texts=<%=texts %>&borderwidth=<%=focus_width %>&borderheight=<%=focus_height %>&textheight=<%=text_height %>" />             
          <embed src="../falsh/pixviewer.swf" wmode="opaque" FlashVars="pics=<%=pics %>&links=<%=links %>&texts=<%=texts %>&borderwidth=<%=focus_width %>&borderheight=<%=focus_height %>&textheight=<%=text_height %>" menu="false" bgcolor="#DADADA" quality="high" width="<%=focus_width %>" height="<%=swf_height %>" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
ºǫ́´úÂë
    public int focus_width = 340;//flashºÍͼƬµÄ¿í
    public int focus_height = 310;//


Ïà¹ØÎĵµ£º

asp.netÐÔÄÜÓÅ»¯µÄ¼¸¸ö·½Ãæ

c#£¨»òvb.net£©³ÌÐò¸Ä½ø
1¡¢Ê¹ÓÃÖµÀàÐ͵ÄToString·½·¨
¡¡¡¡ÔÚÁ¬½Ó×Ö·û´®Ê±£¬¾­³£Ê¹ÓÃ"+"ºÅÖ±½Ó½«Êý×ÖÌí¼Óµ½×Ö·û´®ÖС£ÕâÖÖ·½·¨ËäÈ»¼òµ¥£¬Ò²¿ÉÒԵõ½ÕýÈ·½á¹û£¬µ«ÊÇÓÉÓÚÉæ¼°µ½²»Í¬µÄÊý¾ÝÀàÐÍ£¬Êý×ÖÐèҪͨ¹ý×°Ïä²Ù×÷ת»¯ÎªÒýÓÃÀàÐͲſÉÒÔÌí¼Óµ½×Ö·û´®ÖС£µ«ÊÇ×°Ïä²Ù×÷¶ÔÐÔÄÜÓ°Ïì½Ï´ó£¬ÒòΪÔÚ½øÐÐÕâÀà´¦Àíʱ£¬½«ÔÚÍйܶÑÖÐ ......

Asp.NetÎļþÏÂÔØ·½·¨¡¡²Î¿¼

Asp.NetÏÂÔØ·½·¨¡¡²Î¿¼
(1)    Ê×ÏÈ×ö³ÉÏÂÔØÎļþ¡£
¡£¡£¡£ ¡£¡£¡£
 
(2)    ×ö³ÉÏÂÔØÎļþµÄ·¾¶ÒÔ¼°ÎļþÃûÓÃsession´«µÝ¸ø´ò¿ªÒ³Ãæ
Session["FILE_PATH"] =  Â·¾¶ + "DownLoadFile.txt";
Session["FILE_NAME"] = "DownLoadFile.txt";
 
(3)    ´ò¿ªÐ ......

ASP.Net Ò³Ã滺´æƬ¶ÎʹÓü¼ÇÉ

Ò³Ã滺´æʹÓÃOutputCacheÖ¸Áî¡£ÆäÖÐDurationºÍVaryByParamÌØÐÔÊDZØÐëµÄ¡£ Location¿ØÖÆÒ³Ã滺´æµÄλÖÃLocationº¬ÒåAnyĬÈÏÖµ¡£Òâζ×ÅÒ³ÃæµÄÊä³ö¿ÉÒÔ»º´æÔÚ¿Í»§¶Ëä¯ÀÀÆ÷£¬»º´æÔÚÈκÎ"ÏÂÓÎ"µÄ¿Í»§¶Ë£¨Èç´úÀí·þÎñÆ÷£©£¬»ò»º´æÔÚWeb·þÎñÆ÷±¾ÉíClientÖ¸Ã÷Êä³ö»º´æÖ»ÄÜ´æ´¢ÔÚ·¢³öÇëÇóµÄ¿Í»§¶Ë£¨¼´ä¯ÀÀÆ÷£©µÄ±¾µØ»º´æÖÐDownstreamÖ ......

asp.netµÄ³£ÓôúÂë

 
0.ÓÃsessionÅжÏÊÇ·ñµÇ½
if(Session["login"] == null)
   {
    Response.Redirect("error.aspx");
   }
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
´«ËͲÎÊý£º
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</s ......

asp.NET ÈçºÎÉú³ÉDLLÎļþ£¬²¢µ÷ÓÃ


ʹÓÃcscÃüÁ.csÎļþ±àÒë³É.dllµÄ¹ý³Ì
ºÜ¶àʱºò,ÎÒÃÇÐèÒª½«.csÎļþµ¥¶À±àÒë³É.dllÎļþ, ²Ù×÷ÈçÏÂ:
´ò¿ªÃüÁî´°¿Ú->ÊäÈëcmdµ½¿ØÖÆ̨->cd C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
תµ½vs.net°²×°µÄ¸ÃĿ¼ÏÂ->Ö´ÐÐcscÃüÁîcsc /target:library File.cs->ÔÚ¸ÃĿ¼Ï²úÉúÒ»¸ö¶ÔÓ¦Ãû×ÖµÄ.dllÎļþ(Ç°Ìá:°Ñ. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ