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

asp.net ¹Ø±ÕÍøÒ³´úÂë

2ÖÖ·½·¨
Ò»¡¢linkbuttonµÄµ¥»÷ʼþÀï¹Ø±ÕÒ³Ã棬ƴ½Ó´úÂë¾ÍÊÇÁË
²¹³ä£¬²»¿ÉÄÜ£¬ÎÒ×Ô¼ºÊÔ¹ý£¬ÔÙ²¹³äÒ»ÏÂ
1.¹Ø±ÕʱÌáʾ“ÊÇ·ñ¹Ø±Õ”
Response.Write("<script language:javascript>javascript:window.close();</script>");
2.Ö±½Ó¹Ø±Õ²»Ìáʾ
Response.Write("<script language:javascript>javascript:window.opener=null;window.close();</script>");
¶þ¡¢ÓÃJavaScriptʵÏÖ
<body>
<a href="#" onClick="windows.opener=null;windows.close();">¹Ø±ÕÍøÒ³</a>
</body>
ÓÃjavascript
×î´ó»¯´°¿Ú£º
<OBJECT id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM name="Command" value="Maximize"></OBJECT>
<a href="#1" onclick="max.Click()">×î´ó»¯</a>
×îС»¯´°¿Ú£º
<object id=minimize type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Minimize"></object>
<a href="#1" onclick="minimize.Click()">×îС»¯</a>
¹Ø±Õ´°¿Ú£º
<a href="javascript:window.close()">¹Ø±Õ´°¿Ú</a>


Ïà¹ØÎĵµ£º

asp.netÖÐa¿Ø¼þ´¥·¢b¿Ø¼þ·þÎñÆ÷¶Ëʼþ

ҪʵÏÖa¿Ø¼þ¿Ø¼þ´¥·¢b¿Ø¼þ·þÎñÆ÷¶Ëʼþ£¬Ðè¸øa¿Ø¼þÌí¼Ójs½Å±¾£¬ÒÔb¿Ø¼þÃûÒåÌá½»Ò³Ã棬¾ßÌå´úÂ룺
var theForm = document.forms['form1'];
theForm.__EVENTTARGET.value = "b"; //´¥·¢b¿Ø¼þ·þÎñÆ÷¶Ë·½·¨
theForm.__EVENTARGUMENT.value = "a trigger";//´«µÝµÄ²ÎÊý
theForm.submit();
×¢Ò⣺ÐèÒªÉèÖÃÒ³ÃæÊôÐÔÖÐµÄ enab ......

ASP.NET³£ÓÃÓï¾ä1 20Ìõ ·Ç³£ÊµÓÃ

1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(&quot; <script>window.alert('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡')
</script>&quot;);
Response.Write(&quot; <script>window.location
='http://www.51aspx.com/bizpulic/upmeb.aspx' </script>&quot;);
2.//µ¯³ö¶Ô»°¿ ......

asp.net׼ȷ½ØÈ¡Îı¾³¤¶È(È¡µÃ±êÌâµÄ×Ö·ûÊý)

asp.netÖÐ×Ô´øµÄCutStringÖ»ÄܽØÈ¡×Ö·ûÊýÁ¿µÄ³¤¶È,µ«ÖÐÓ¢ÎÄ×Ö·ûÊýÓвîÒì,Ò»¸öÖÐÎÄ×ÖµÈͬÓÚ¶þ¸öÓ¢ÎÄ×Ö·ûµÄ¿í¶È,ÕâÑù¶Ô½ØÈ¡ºóµÄЧ¹û²»ÀíÏë.ʹÓÃÒÔϵķ½·¨¾ÍÄܽâ¾ö.
//µ÷Ó÷½·¨
string title=BLL.CutStr.CutString("±êÌâ",10);using System;
using System.Collections.Generic;
using System.Text;
namespace BLL
{
&n ......

ASP.NETÖÐ×Ö·û´®½øÐÐMD5¼ÓÃÜ

×î½üÔÚ¿´¡¶asp.netͨÓÃÄ£¿é¼°µäÐÍϵͳ¿ª·¢ÊµÀýµ¼º½¡·£¬ÆäÖÐÓõ½ÁËMD5¼ÓÃÜ£¬´úÂëÈçÏ£º /// <summary>
/// ×Ö·û´®¼ÓÃܺ¯Êý
/// </summary>
/// <param name="strInput">ÊäÈë±»¼ÓÃܵÄ×Ö·û´®</param>
/// <returns>¼ÓÃܺóµÄ×Ö·û´®</return ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ