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

ÔÚASPÖгöÏֻط¢»ò»Øµ÷²ÎÊýÎÞЧ - .NET¼¼Êõ / ASP.NET

ÎÒÔÚʹÓÃasp×ö½»Ò×ϵͳʱÔÚdatalistÖн¨Ä£°å£¬ÆäÖзÅÁËÒ»¸öbotton¿Ø¼þ£¬¹¦ÄÜÊǵ¥»÷ËüÌø×ªµ½ÁíÒ»½çÃæ£¬ÔÚËûµÄclikʼþÖÐÓÃrespons.write£¨¡°..aspx¡±£©Ìø×ª£¬ÔÚµ¥»÷Ö®ºó³öÏÖÁ˻ط¢»ò»Øµ÷²ÎÊýÎÞЧµÄ´íÎ󣬸ÃÔõÑù¸Ã°¡£¿£¿£¿¸ßÊÖ°ïæ


´íÎóÌáʾ
{
»Ø·¢»ò»Øµ÷²ÎÊýÎÞЧ¡£ÔÚÅäÖÃÖÐʹÓà <pages enableEventValidation="true"/> »òÔÚÒ³ÃæÖÐʹÓà <%@ Page EnableEventValidation="true" %> ÆôÓÃÁËʼþÑéÖ¤¡£³öÓÚ°²È«Ä¿µÄ£¬´Ë¹¦ÄÜÑéÖ¤»Ø·¢»ò»Øµ÷ʼþµÄ²ÎÊýÊÇ·ñÀ´Ô´ÓÚ×î³õ³ÊÏÖÕâЩʼþµÄ·þÎñÆ÷¿Ø¼þ¡£Èç¹ûÊý¾ÝÓÐЧ²¢ÇÒÊÇÔ¤ÆÚµÄ£¬ÔòʹÓà ClientScriptManager.RegisterForEventValidation ·½·¨À´×¢²á»Ø·¢»ò»Øµ÷Êý¾ÝÒÔ½øÐÐÑéÖ¤¡£


}
·ÖÊýÓÐÏÞ£¬Ñ§Ï°ÖØÒª°¡
ÄÇÄã¾Í°Ñ<pages enableEventValidation="true"/>ÉèÖÃΪ<pages enableEventValidation="false"/>ÄãpostµÄÄÚÈÝÖÐÓ¦¸Ã°üº¬ÓÐhtml´úÂë°É/...

ÔÚËûµÄclikʼþÖÐÓÃrespons.write£¨¡°..aspx¡±£©Ìø×ª¡¢¡¢


respons.redirect("sss.aspx")

µÚÒ»´Î¿´µ½ÓÐÈËÓÃrespons.writeÌø×ªÒ³Ãæ
Äã´ò¿ªÄãµÄÎļþÓÃhtml£¬¿´¿´ÄãµÄÒ³ÃæÊDz»ÊÇдÔÚÁ˵ÚÒ»ÐÐÉÏÁË
ÕâÑùµ±È»¾Í³ö·¢ÁËÒ³ÃæÑéÖ¤enableEventValidation
¸Ä³É Response.Redirect("sss.aspx",true);°É


Ïà¹ØÎÊ´ð£º

ÔÚasp.netÀïÃæ½Å±¾³ö´í - .NET¼¼Êõ / ASP.NET

function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

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

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

js ......

¹ØÓÚSqlµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡


¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡

Ö±½ÓÖ´ÐоÍÐÐÁË

exec ......

ASPÒ³ÃæÎÞ·¨´ò¿ªÇóÖú£¡ - MS-SQL Server / »ù´¡Àà

¸÷λºÃ£¬ÎÒ¸Õ°ÑÒ»¸öASPÍøÕ¾ÉèÖúÃÁË£¬Ò²ÄÜÕý³£·ÃÎÊ¡£µ«ÊÇÔÚÎÒ±¾»úÉϲ»ÄÜ´ò¿ªadmin\login.asp,ËùÒÔÎÞ·¨ÊµÏÖºǫ́¹ÜÀí¡££¨´íÎóÌáʾÎÞ·¨ÕÒµ½ÍøÒ³£¬´úÂë404£¬ÎҵIJÙ×÷ϵͳÊÇwin2000 server)
µ«ÊÇÆæ¹ÖµÄÊÇÔÚ¾ÖÓòÍøµÄÆäËû» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ