ÈçºÎÓÃÕýÔò±í´ïʽÌæ»»FLASHµØÖ· - .NET¼¼Êõ / ASP.NET
ÈçºÎÓÃÕýÔò±í´ïʽÌæ»»FLASH
ͬʱÌæ»»embed ±êÇ©ÖÐµÄ src="x.swf"
object ±êÇ©ÖÐµÄ <param name="movie" value="x.swf">
¹Ø¼üÊÇ name value ²»·ÖÏȺó˳Ðò,×îºÃÔÚÒ»¸ö ±í´ïʽÖÐÍê³É
End_rbody_64988866//-->
¸Ã»Ø¸´ÓÚ2010-04-27 22:16:12±»°æÖ÷ɾ³ý
¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP
lxcnn
(¹ý¿Í)
µÈ¡¡¼¶£º
#2Â¥ µÃ·Ö£º0»Ø¸´ÓÚ£º2010-04-26 19:10:40
ÄãÏëÌæ»»³Éʲô
C# code:
string test = "<a href='http://www.baidu.com' ><embed src=\"http://d.lanrentuku.com/lanren/flashad/300x250-0281.swf\" width=\"300\" height=\"250\" type=\"application/x-shockwave-flash\" scale=\"\" play=\"true\" loop=\"true\" menu=\"true\"></embed></a>object ±êÇ©ÖÐµÄ <param name=\"movie\" value=\"x.swf\">";
Regex reg = new Regex(@"(?is)(<(?:embed|param)\b[^>]*?(?:src|value)=(['""]?))[^'""\s>]+(\2[^>]*>)");
string result = reg.Replace(test, "$1Ïë»»³Éʲô£¬¾Í»»³Éʲô£¡$3");
richTextBox2.Text = result;
/*-------Êä³ö-------
<a href='http://www.baidu.com' ><embed src="Ïë»»³Éʲô£¬¾Í»»³Éʲô£¡" width="300" height="250&q
Ïà¹ØÎÊ´ð£º
asp.netÅúÁ¿ÉÏ´«Í¼Æ¬×îºÃÓÐÔ´Â룬ÔÚÏߵȣ¡£¡£¡£¡£¡£¡£¡
Ô´ÂëºÜ³¤µÄ¡£
²Î¿¼
C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
......
±¾ÈËÊDzËÄñÒ»¸ö£¬Æ½Ê±Òª×öÉúÒ⣬µ«ÊÇÕÒÁ˺ܶàÈË×öÍøÕ¾£¬¾ù±»ÆÁË¡£×öµÃ²»Èý²»ËÄ£¬ÏÖÔÚ¾öÐÄ×Ô¼ºÀ´×öÒ»¸ö£¬ÒÑѧϰASP.NETÏà¹ØµÄÍøÒ³ÖÆ×÷֪ʶ£¬ÓÐDW»ù´¡£¬¿ÉÒÔ˵ÊÇÄ¿Ç°Ö»ÓÐÀíÂÛ֪ʶ£¬µ«ÊÇÔÚʵ¼Ê¾ßÌå²Ù×÷µÄʱºò£¬×ÜÊÇÓöµ ......
ʹÓõÄÊÇ¿ò¼Ü×Ô´øµÄtreeview
°ó¶¨ÏÔʾ£¬Äܹ»°´ÕÕÕýÈ·µÄÐÎʽÏÔʾ³öÀ´
µ«Ò»µã»÷¾Í»á±¨´í
³ÌÐò¼¯¡°System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a¡±ÖеÄÀàÐÍ¡°System.Web.UI.WebCo ......
´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
var xmlhttp;
if (window.ActiveXObject) {
//IE
try {
......