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

asp.net ÎÞ·¨±£´æ±äÁ¿µÄÖµ - .NET¼¼Êõ / ASP.NET

ÎÒµÄÒ³ÃæÓиögridviewÊǸöÓÃÀ´²éѯµÄÒ³Ã棬´Ó±ðµÄÒ³Ãæ´«»ØÀ´µÄ±äÁ¿ÈçÏÂ
if not me.ispostback then
  sqlstr = request.querystring("sqlstr")
  tablename = request.querystrng("tablename")
end if

ÕâÊÇÒ³ÃæµÚÒ»±»µ÷ÓÃʱ´«À´µÄ±äÁ¿

¿ÉÊÇÎÒÔÚµãÁËgridviewÀïµÄɾ³ý°´Å¥È¥µôÓÃÕâЩ±äÁ¿ÊÇ£¬¸ú×Ù·¢ÏÖÕâÁ½¸ö±äÁ¿sqlstr,tablenameÒѾ­ÊÇ¿ÕÖµÁË¡£
Ôõô»ØÊ°¡£¿£¿ÓÐûÓнâ¾ö°ì·¨£¿
È¥µôif not me.ispostbackÊÔÊÔ¡£

if not me.ispostback then
  sqlstr = request.querystring("sqlstr")
  tablename = request.querystrng("tablename")
end if
\
¿´ÄãµÄ±äÁ¿ÔÚÄĶ¨ÒåµÄ¡£
»òÕßÄãÖ±½ÓÔÚµ÷ÓõÄʱºòÖ±½ÓÓÃPage.request.querystring("sqlstr")¶ø²»ÓñäÁ¿




ÒýÓÃ

ºÇºÇ£¬Â¥Ö÷»¹²»Àí½âasp.net³ÌÐòµÄÁ÷³Ì£¬Ã¿´ÎÓзþÎñÆ÷ʼþ£¬¾Í»á»Ø·¢£¨Ï൱ÓÚÌá½»Ò³Ã棩µ½ºǫ́£¬¾­¹ý´¦Àíºó£¬Éú³ÉеÄÒ³Ã棨×ÔÈ»¾Í½«ËùÓбäÁ¿¸´Î»ÁË£©ÔÙ·µ»Ø¿Í»§¶Ë¡£
Òª±£´æ±äÁ¿µÄÖµ£¬¿ÉÒÔÓÃViewState£¬±ÈÈçÉÏÃæµÄ´úÂë¸Äд³É£º
if not me.ispostback then
ViewState["sqlstr"] = request.querystring("sqlstr")
¡­¡­
ÕâÖÖ¿ÉÒÔ£¿ÊÔÊÔ¿´

²»ÓÃviewstateµÄ£¬ÄãµÄÖµ²»ÊÇÔÚquerystringÀïÃæÂֻ²»¹ý²»Òª¼ÓÉÏpostbackµÄ²âÊÔ£¬°ÑifÅжÏÈ¥µô£¬ÈÃ
sqlstr = request.querystring("sqlstr")
tablename = request.querystrng("tablename")
ÿ´Î¶¼Ö´ÐУ¬¾ÍÓÐÖµÁË¡£

ѧϰ¡·¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
{{----


Ïà¹ØÎÊ´ð£º

wapÍøÕ¾¿ª·¢µÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×

ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

¾Í ......

js¿ØÖÆasp¿Õ¼ädropdownlist - .NET¼¼Êõ / ASP.NET

ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ­°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......

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

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

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......

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

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