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
Ïà¹ØÎÊ´ð£º
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
±¾ÈËÒ»Ö±´ÓÊÂjavaµÄ¿ª·¢£¬ spring , strutsµÈµÈ£¬ ÏÖÔÚÂíÉÏÒª½ÓÒ»¸öasp.netµÄÏîÄ¿£¬ ²»ÖªµÀasp.netÖÐÓÐûÓкÍjavaÖеÄstrutsÀàËƵĶ«Î÷£¬ ¿ÉÒÔÔÚËûµÄ»ù´¡ÉÏ£¬Ö±½Ó¿ª·¢£¬ ЧÂʸߣ¬ ¶øÇÒºÃά»¤ ¡£¡£ лл£¬Ï£Íû´ó¼Ò£¬¶ ......
СµÜÊǽñÄê¸Õ±ÏҵѧÉúÕÒÁ˺ܳ¤Ê±¼ä¹¤×÷ÁË,×ÜÊÇʧ°Ü£¬Ò»Ð©¹«Ë¾¶¼ÒªÓй¤×÷¾ÑéµÄ£¬¶¼±ÀÀ£ÁË£¬ËùÒÔÏëÇë¸÷λ´ó¸ç°ï¸öæ
½ñÌìÎÒÈ¥ÃæÊÔÁËÒ»¼Ò¹«Ë¾£¬ËûÊÇÏë×öÒ»¸ö¡°Ò½ÁƵÄÍøÕ¾¡±Ï൱ÓÚÊÇÍƹã×Ô¼ºµÄÒ½ÁÆ·½·¨°É£¬Ëû½ÐÎ ......
CREATE PROCEDURE [selectvipcompany]
@username varchar(50),
@companyname varchar(50),
@endtime varchar(1)
AS
declare @sql varchar(1000)
set @sql='' ......