asp.net ½«HTMLÎļþµ±ASPXÎļþ½âÎö
Ê×ÏÈÔÚÓ¦ÓóÌÐòµÄWEB.CONFIGÐÞ¸ÄÈçϽڵ㡣
<httpHandlers>
<add verb="*" path="*.html" type="System.Web.UI.PageHandlerFactory"/>
</httpHandlers>
<assemblies>
<buildProviders>
<add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
</compilation>
ÐÞ¸ÄIISµÄMINEÀàÐÍ£¬½«.HTMLÀàÐÍÐ޸ĻòÔö¼Ó,²ÎÕÕASPXµÄÀàÐ͸´ÖÆ¡£
Ïà¹ØÎĵµ£º
ÔÎĵØÖ·£ºhttp://www.17aspx.com/html/aspnet/all/2010/0106/485.html
1.Ö÷ÒªÃüÃû¿Õ¼ä:
<% @ Import Namespace="System.Data" %> ´¦ÀíÊý¾ÝʱÓõ½
<% @ Import Namespace="System.Data.ADO" % > ʹÓÃADO.net ʱÓõ½
<% @ Import Namespace="System.Da ......
HTML £ Hyper Text Mark-up Language £ ³¬Îı¾±ê¼ÇÓïÑÔ
HTML-³¬Îı¾±ê¼ÇÓïÑÔ£¬ÊÇWWWµÄÃèÊöÓïÑÔ¡£Éè¼ÆHTMLÓïÑÔµÄÄ¿µÄÊÇΪÁËÄܰѴæ·ÅÔÚһ̨µçÄÔÖеÄÎı¾»òͼÐÎÓëÁíһ̨µçÄÔÖеÄÎı¾»òͼÐη½±ãµØÁªÏµÔÚÒ»Æð£¬ÐγÉÓлúµÄÕûÌ壬ÈËÃDz»Óÿ¼ÂǾßÌåÐÅÏ¢ÊÇÔÚµ±Ç°µçÄÔÉÏ»¹ÊÇÔÚÍøÂçµÄÆäËüµçÄÔÉÏ¡£ÎÒÃÇÖ» ......
ʲôÊÇXHTML£¿ÓëHTMLÏà±ÈXHTMLÓÐÊ²Ã´ÌØµã£¿
¡¡¡¡HTMLÊÇÒ»ÖÖ»ù±¾µÄWEBÍøÒ³Éè¼ÆÓïÑÔ£¬XHTMLÊÇÒ»¸ö»ùÓÚXMLµÄÖñêÓïÑÔ£¬¿´ÆðÀ´ÓëHTMLÓÐЩÏàÏó£¬Ö»ÓÐһЩСµÄµ«ÖØÒªµÄÇø±ð¡£±¾Îļòµ¥½éÉÜʲôÊÇXHTML£¬ÒÔ¼°ÓëHTMLÏà±ÈXHTMLÓÐÊ²Ã´ÌØµã¡£
¡¡¡¡1¡¢Ê²Ã´ÊÇXHTML£¿
¡¡¡¡HTMLÊÇÒ»ÖÖ»ù±¾µÄWEBÍøÒ³Éè¼ÆÓïÑÔ£¬XHTMLÊÇÒ»¸ö»ùÓÚXMLµÄÖñêÓï ......
ʹÓøñʽ£ºÔÚÒ³ÃæÖвåÈë
<meta HTTP-EQUIV="Page-Enter" CONTENT="revealtrans(duration=1.0, transition=12)">
<meta HTTP-EQUIV="Page-Exit" CONTENT="revealtrans(duration=1.0, transition=12)">
duration=ʱ¼ä
Transitionv=·½Ê½
˵Ã÷£ºdurationÎªÒ³ÃæÇл»µÄʱ¼ä³¤¶È£¬3.000±íʾ3ÃëÖÓ£¬Ò»°ã¿ÉÒÔÖ±½ÓÊ ......
´Ë´¦ÌṩµÄ´úÂëÓÃÀ´ÊµÏÖµ±asp.netÒ³ÃæÖеÄij¸öButton±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var obj = event.srcElem ......