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

Web·þÎñÆ÷¿Ø¼þ¡¢Html·þÎñÆ÷¿Ø¼þºÍHtml¿Ø¼þ

Web·þÎñÆ÷¿Ø¼þ¡¢Html·þÎñÆ÷¿Ø¼þºÍHtml¿Ø¼þ
¡¡¡¡Html¿Ø¼þÎÞÐè¶à˵£¬×î³£ÓõĿؼþ£¬ASPʱ´úµÄΨһѡÔñ£¬ÊÀ½ç¿ªÊ¼µÄʱºòËü¾ÍÔÚÄÇ¡£µ±Î¢ÈíÍƳö.Netºó£¬ÎªÁËÌṩASP.Net Web Form¿ª·¢ÒÔºÍWin Form¿ª·¢ÏàËƵĿª·¢ÌåÑ飬ÍƳöÁËWeb·þÎñÆ÷¿Ø¼þ£¨Server Control£©£¬ÓÖ³ÆASP.Net·þÎñÆ÷¿Ø¼þ¡£¶øHtml·þÎñÆ÷¿Ø¼þ£¨Html Server Control£©£¬Ôò¿ÉÒÔ¿´×öÊÇΪÁËÏòϼæÈÝ£¬±ãÓÚÔ­±¾»ùÓÚASPϵͳµÄÒÆÖ²¶øÍƳöµÄÒ»ÖÖ½éÓÚHtml¿Ø¼þºÍWeb ·þÎñÆ÷¿Ø¼þµÄȨÒ˲úÎï¡£
Web·þÎñÆ÷¿Ø¼þ¡¢Html·þÎñÆ÷¿Ø¼þºÍHtml¿Ø¼þµÄÇø±ð
Html¿Ø¼þµÄ±êÇ©£º<input id="Button" type="button" value="Button" />
Html·þÎñÆ÷¿Ø¼þµÄ±êÇ©£º<input id="Button" type="button" value="Button" runat="server" />
Html·þÎñÆ÷¿Ø¼þÆäʵ¾ÍÊÇHtml¿Ø¼þµÄ»ù´¡ÉϼÓÉÏrunat="server"Ëù¹¹³ÉµÄ¿Ø¼þ
Web·þÎñÆ÷¿Ø¼þµÄ±êÇ©£º<asp:Button ID="Button" runat="server" Text="Button"/>
Web·þÎñÆ÷¿Ø¼þ»á¸ù¾ÝÇé¿öÔÚä¯ÀÀÆ÷¶Ë²úÉúÒ»¸ö»ò¶à¸ö¶ÔÓ¦µÄHtml±êÇ©¡£
Html·þÎñÆ÷¿Ø¼þλÓÚSystem.Web.UI.HtmlControls
Web·þÎñÆ÷¿Ø¼þλÓÚSystem.Web.UI.WebControls
Web·þÎñÆ÷¿Ø¼þÓëCode BehindµÄClassÎļþÏà½áºÏ£¬ÌṩÁË°üº¬ÊôÐÔ¡¢·½·¨ºÍʼþµÄÍêÕû¶ÔÏóÄ£ÐÍ¡£
Html¿Ø¼þ²»ÄÜÔÚ·þÎñÆ÷¶Ë¿ØÖÆ£¬Ö»ÄÜÔÚä¯ÀÀÆ÷¶Ëͨ¹ýjavascriptµÈ½Å±¾ÓïÑÔ²Ù×÷¡£
Html·þÎñÆ÷¿Ø¼þÉ趨ÁËrunat="server" ÊôÐÔºó£¬Ò³Ãæ¶ÔÏó»á½«¸Ã¿Ø¼þÔØÈë¿ØÖÆÆ÷£¬·þÎñÆ÷¶ËµÄ´úÂë¾ÍÄܶÔÆä½øÐпØÖÆ¡£
Html·þÎñÆ÷¿Ø¼þÔÚÒ³ÃæÖ´ÐÐÍê±Ïºó»á±»×ª»»³ÉHtml±ê×¢£¬È»ºóµ±³É×Ö·û´®Á÷·¢Ë͵½ä¯ÀÀÆ÷¶Ë£¬ä¯ÀÀÆ÷¶ËµÄ½Å±¾Äܹ»½øÐвÙ×÷¡£
Web·þÎñÆ÷¿Ø¼þµÄ²Ù×÷ÔòÊÇÓÉÒ³Ãæ°ÑForm·¢»Ø·þÎñÆ÷£¬È»ºóÍêÈ«ÓÉ·þÎñÆ÷¶Ë´úÂë´¦Àí¡£
Html¿Ø¼þµÄʼþ´¦Àí·¢ÉúÔÚä¯ÀÀÆ÷¶Ë£¬³ý·ÇSubmit£¬·ñÔò²»»á·¢ÉúPostback
Html·þÎñÆ÷¿Ø¼þµÄʼþ´¦Àí·¢ÉúÔÚä¯ÀÀÆ÷¶Ë¡£
Html·þÎñÆ÷¿Ø¼þÈç¹ûÒªPostbackµ½·þÎñÆ÷¶Ë£¬µ÷Ó÷þÎñÆ÷¶ËµÄ·½·¨£¬ÐèÒªÌí¼ÓonserverclickÖ®ÀàµÄʼþ¡£
Web·þÎñÆ÷¿Ø¼þ²¿·ÖĬÈÏΪAutoPostback£¬»òÕß¿ÉÒÔÉèÖÃAutoPostback¡£
ÔÚ²úÉúPostback»òÊÇÖØÐÂÉú³ÉÒ³Ãæʱ£¬Web·þÎñÆ÷¿Ø¼þ×Ô¶¯±£´æ״̬µ½ViewState¡£
Html¿Ø¼þºÍHtml·þÎñÆ÷¿Ø¼þÐèÒª×Ô¼º±àÂëʵÏÖ¡£
Web·þÎñÆ÷¿Ø¼þ¡¢Html·þÎñÆ÷¿Ø¼þºÍHtml¿Ø¼þµÄÓÅȱµã
Html¿Ø¼þºÍHtml·þÎñÆ÷¿Ø¼þÐèÒª±àÂëÒÔ±£³Öä¯ÀÀÆ÷¼æÈÝ¡£
Web·þÎñÆ÷¿Ø¼þÄܹ»¼ì²âä¯ÀÀÆ÷µÄ¼æÈÝÐÔ£¬±£³Ö±íÏÖµÄÒ»Ö¡£
Html·þÎñÆ÷¿Ø¼þͨ¹ýΪHtml¿Ø¼þÌí¼Órunat="server"Ò


Ïà¹ØÎĵµ£º

ÔÚhtmlÎļþÒýÈëÆäËühtmlÎļþµÄ¼¸ÖÖ·½·¨

¼ò½é£ºÔÚÂÛ̳Öг£³£ÓÐÍøÓÑÎʵ½£¬¿ÉÒÔÔÚÒ»¸öhtmlµÄÎļþµ±ÖжÁÈ¡ÁíÒ»¸öhtmlÎļþµÄÄÚÈÝÂ𣿴ð°¸ÊÇÈ·¶¨µÄ£¬¶øÇÒ·½·¨²»Ö»Ò»ÖÖ£¬ÔÚÒÔÇ°ÎÒÖ»»áʹÓÃiframeÀ´ÒýÓ㬺óÀ´·¢ÏÖÁËÁíÍâµÄ¼¸ÖÖ·½·¨£¬ÄǽñÌì¾Í×ܽáÕ⼸ÖÖ·½·¨Èôó¼Ò²Î¿¼Ò»Ï£¬±¾È˾õµÃµÚÈýÖÖ·½Ê½½ÏºÃ£¡
1.IFrameÒýÈ룬¿´¿´ÏÂÃæµÄ´úÂë
[´úÂë] <IFRAME NAME="content_fr ......

ÓÃJavascript¶¯Ì¬Ìí¼Óɾ³ýHTMLÔªËØʵÀý

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>ÓÃjavascript¶¯Ì¬Ìí¼Óɾ³ýhtmlÔªËØ</title>
<script type="text/javascript"><!-- 
function $(nodeId) { 
re ......

»ñÈ¡URL¶ÔÓ¦µÄHTMLÎĵµ¼°ÓÃÕýÔò×öreplace

        System.Net.WebRequest request = System.Net.WebRequest.Create("http://la.jmw.com.cn/c.asp");
        request.UseDefaultCredentials = false;
        System.Net.WebResponse response = requ ......

ÖÆ×÷HtmlÒ³Ãæ¹æ·¶ºÍ×¢ÒâÊÂÏî

1.ΪҳÃæÌí¼ÓÕýÈ·µÄ DOCTYPE
XHTML1.0 ÌṩÁËÈýÖÖ DOCTYPE ¿ÉÑ¡Ôñ£º  
1.¹ý¶ÉÐÍ(Transitional)--ÆÕ±é 
<!DOCTYPE  html  PUBLIC  "-//W3C//DTD  XHTML  1.0
Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
2.Ñ ......

C/C++´úÂëת»»¼ÓÁÁΪHTML´úÂë

½«C/C++³ÌÐò·Åµ½ÍøÂçÉϲ¢²»ÊǼòµ¥µÄ¸´ÖÆÕ³Ìù£¬´ó²¿·ÖÍøÕ¾ºÍblogÊDz»Ìṩ´úÂëµÄÖ±½ÓÕ³ÌùµÄ£¨µ±È»CSDNÊDz»´íµÄ£©£¬Ö®Ç°ÔÚsinaд²©¿ÍµÄʱºò¾ÍÅöµ½ÀàËƵÄÎÊÌâ¡£
C/C++×¥»»ÎªHTMLµÄ¹Ø¼üÊÇ´¦Àí×¢ÊÍ£¬¹Ø¼ü×Ö¡£µ±È»Ò²¿ÉÒÔ¶Ô×Ö·û´®£¬Êý×Ö½øÐÐÒ»¶¨µÄ¼ÓÁÁ´¦Àí¡£
1.ÎÒÒÔÇ°ÓÃC++д¹ýÒ»¸ö³ÌÐò£¬Æäʵ±íÃæÉÏÊÇC++£¬Ö»ÊÇÊä³öÓÃÁËcoutºÍcin¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ