asp.net×öµÄwapÍøÕ¾£¬×Ô¶¯×ªÏòÎÊÌâ
ÎÒÓÃasp.netÒÆ¶¯¿Ø¼þ( <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>)×öµÄwapÍøÕ¾£¬ÔÚweb.configÀïÃæ¼ÓÈëÁË:
<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<use var="HTTP_USER_AGENT"/>
preferredRenderingType = "wml11"
preferredRenderingMime = "text/vnd.wap.wml"
preferredImageMime = "image/vnd.wap.wbmp"
</browserCaps>
Ç¿ÖÆ×ª»»Îªwml¸ñʽ¡£
ÎÒÏÖÔÚÊÇÏëʵÏֵŦÄÜÊÇ£ºµ±Óû§·ÃÎʵ½ÎÒµÄÍøÕ¾£¬ÔÙµãºóÍ˼ü¾Í²»ÄÜÍ˻ص½ÔÍøÕ¾¡£
ÎÒÊÇÕâôÏëµÄ£ºÎÒµÄÍøÕ¾Ä¬ÈÏÊ×Ò³ÊÇindex.aspx£¬ÏÖÔÚÏëÔÚindex.aspxÒ³Ãæ×öÒ»¸ö×Ô¶¯×ªÏò¹¦ÄÜ£¬Ìø×ª×ªµ½default.aspx£¬°Ñdefault.aspxµ±³Éʵ¼ÊÏÔʾµÄÊ×Ò³¡£ÕâÑù£¬µ±±ðÈË·ÃÎʵ½ÎÒµÄÍøÕ¾£¬ÒòΪ×Ô¶¯×ªÏòµÄÔÒò£¬µãºóÍË»¹ÊÇ»áÍ˻ص½default.aspx¡£
ÊÔ¹ýÁËResponse.Redirect²»ÐС£
Õâ¸öÒ²²»ÐУº
string strRedirectPage = "default.aspx";
string strRedirectTime = "1";
string strRedirect = string.Format("{0};url={1}", strRedirectTime, strRedirectPage);
Response.AddHeader("refresh", str
Ïà¹ØÎÊ´ð£º
ASP.NET MVC¼Ü¹¹·¢²¼ÁË,ÄãÓÃÁËÂð£¿
»¹ÔÚѧϰÖÐ
ÎÒÒ²ÔÚѧϰ¡£ÂòÊ飬Ìý½Ì³Ì£¬¿´ÍøÉÏ×ÊÁÏ£¬ÏÂÔØÀý×Ó£¬¸Ð¾õÌý²»´íµÄ£¬²»¹ý±ÈÆð¹¤³§Ä£Ê½£¬ËƺõÑ·É«Á˵㡣¡£¡£»¶Óµ½ÎÒ²©¿Í»¥Ïàѧϰ
¶¼ÓÃÁË5¸ö°æ±¾ÁË ´Ó PV1 µ½beta ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
±¾ÈËĿǰÓöµ½Ò»¸öÄÑÌ⣬Çë¸÷λ¸ßÊÖ¡¢´óÏÀ°ï°ïæ¡£
ÎÒµ¥»÷Ò»¸ö°´Å¥Ê±Òª°ÑgridviewÖеÄÊý¾ÝÒ»¸öÒ»¸öµÄÈ¡³ö²¢°Ñ¶ÔÓ¦²ÎÊý´«µÝ¸øÇ°Ì¨µÄjs¡£
ÎÒÊÔÁ˼¸ÖÖºǫ́µ÷ǰ̨µÄ·½Ê½¶¼Ã»Óгɹ¦£¬ËùÒÔÇë´óÏÀÃǰï°ïСµÜ¡£
лл¡£
²» ......