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

ÓÃAsp.netÅжÏÊä³öÖÕ¶ËÊÇä¯ÀÀÆ÷»¹ÊÇÊÖ»ú

public static bool GetClientWeb()
    {
        bool result = false;
        string clientType = string.Concat(HttpContext.Current.Request.UserAgent);
        if (clientType.ToLower().Contains("mozilla") || clientType.ToLower().Contains("opera"))
        {
            result = true;
        }
        return result;
    }


Ïà¹ØÎĵµ£º

ÔÚasp.netÖÐʵÏÖGridview ±íÍ·¹Ì¶¨

<script language="javascript">
 function init()
          {
           var tbBody = document.getElementById("<%=GridView2.ClientID%>");
         ......

ASP.NETÔõÑù½«×¢²áÐÅϢдÈëAccess

רßøÄãдÁ˸ö£¬Ä㿴һϣ¬ËµÃ÷ÏÂÕâÀïûÓп¼Âǵ½Êý¾ÝµÄÓÐЧÐÔ£¬ÐèÒªµÄ»°×Ô¼º¼ÓÉÏ¡£
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebCon ......

ASP.NETÃæÊÔÌâ´óÈ«£¨¸½´ð°¸ ¾­µä°æ£©

1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
2 .ÁоÙASP.NET Ò³ÃæÖ®¼ä´«µÝÖµµÄ¼¸ÖÖ·½Ê½¡£
´ ......

asp.net ÉÏ´«ÏÂÔØ Êä³ö¶þ½øÖÆÁ÷

using System;  
using System.Collections;  
using System.Configuration;  
using System.Data;  
using System.Linq;  
using System.Web;  
using System.Web.Security;  
using System.Web.UI;  
using System.Web ......

ÔËÐÐASP.NET ³öÏÖ³ÌÐò´íÎó

½ñÌìÔÚ·þÎñÆ÷×°ºÃ .net Framework 3.5ºó£¬ÔËÐÐASP.NET ³öÏÖ³ÌÐò´íÎ󣬵«ÊÇÓÖûÓгöÏÖÌØ¶¨³ÌÐò´íÎó£¬Ëµ½Ð²é¿´ÈÕ¼ÇÎļþ£¬Ò»¿´£¬ËµÊ²Ã´ ³ÌÐòÓòÓÐÎÊÌ⣬°Ù¶ÈÖ®ºó£¬ºÜ¹ÜÓ㺠ӦÓóÌÐò³Ø -- ÊôÐÔ -- ±êʶ -- ¸Ä³É ±¾µØÏµÍ³  ÎÊÌâ½â¾ö¡£Ìش˼Ǽ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ