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

ASP.NET¶Áдcookies

/// <summary>
    /// Ð´Cookies
    /// </summary>
    /// <param name="response"></param>
    /// <param name="request"></param>
    /// <param name="server"></param>
    /// <param name="IndexValue"></param>
    /// <param name="TextValue"></param>
    /// <param name="ExpriesHour">ÉèÖõĹýÆÚʱ¼ä</param>
    public void WriteCookies(HttpResponse response,HttpRequest request,HttpServerUtility server,string IndexValue,string TextValue,int ExpriesHour)
    {
        response.Cookies[IndexValue].Value = TextValue;
        response.Cookies[IndexValue].Expires = System.DateTime.Now.AddHours(ExpriesHour);
    }
    /**//// <summary>
    /// ¶ÁCookies
    /// </summary>
    /// <param name="response"></param>
    /// <param name="request"></param>
    /// <param name="server"></param>
    /// <param name="IndexValue"></param>
    /// <returns></returns>
    public string ReadCookies(HttpResponse response, HttpRequest request, HttpServerUtility server, string IndexValue)
    {
        if (request.Cookies[IndexValue] !=&nb


Ïà¹ØÎĵµ£º

ASP.NET 2.0µÄ»º´æ¼¼Êõ¼ò½é

¡¡¡¡ÓÉÊý¾Ý¿âÇý¶¯µÄWebÓ¦ÓóÌÐò£¬Èç¹ûÐèÒª¸ÄÉÆÆäÐÔÄÜ£¬×îºÃµÄ·½·¨ÊÇʹÓûº´æ¹¦ÄÜ¡£Óû§´ÓÊý¾Ý¿âÖмìË÷Êý¾Ý£¬¿ÉÄÜÊÇWebÓ¦ÓóÌÐòÖÐÖ´ÐÐ×îÂýµÄ²Ù×÷Ö®Ò»¡£ÒòΪÆäÖÐÉæ¼°¶à¸ö»·½Ú£¬ÀýÈ磬Web·þÎñÆ÷¡¢Êý¾Ý¿â·þÎñÆ÷µÈ¡£ÓÈÆäÊÇÔÚÓû§±È½Ï¶à£¬¼ìË÷µÄÊý¾ÝÁ¿±È½Ï´óµÄÇé¿öÏ£¬»á¸ø°üÀ¨Óû§ÔÚÄڵĸ÷¸ö·½ÃæÔì³É²»Ð¡µÄÀ§ÄÑ¡£Èç¹ûÄܹ»½«Êý¾Ý¿ ......

ASP.NET 4.0µÄÆß´óÐÂÌØÐÔÖ®"¿Ø¼þµÄClientIDMode"


 ÔÚÔçÆÚµÄASP.NET¿ò¼ÜÖУ¬Èç¹ûÄã·ÅÖÃÒ»¸ö¿Ø¼þÔÚÒ»¸öÈÝÆ÷ÖУ¬ÈçGridViewÄ£°åÁС¢µÇ¼ģ°å¡¢ÆäËü£¬ÔÚÔËÐÐʱÕâЩ¿Ø¼þµÄID½«±»Ìæ»»ÓÉASP.NET×ÔÉí²úÉúµÄËæ»úΨһID¡£
      
      Ϊ¿ª·¢ÕßÌṩ·þÎñ·½·ÃÎʿؼþµÄPage.FindControl("controlid")ÒÔ¼°JavaScriptÖÐʹÓà µÄdocument ......

asp.net Êý¾Ý¼¯ ʹÓÃDataObjectTypeName

ÔÚasp.net ʹÓÃÊý¾Ý¼¯Éè¼ÆÆ÷ ·ÃÎÊÊý¾ÝÖÐ˵¹ý£¬ÒªÊ¹Insert,Update,Delete²éѯ¿ÉÓ㬱ØÐëɾ³ýObjectDataSource¶ÔÏó
ÊôÐÔDataObjectTypeNameµÄÖµ¡£ÏÂÃæҪ˵µÄÊÇ£¬ÔÚ²»É¾³ý¸ÃÖµÏÂʹ²éѯ¿ÉÓõķ½·¨¡££¨ÓÉÓÚ֮ǰÔÚɾ³ý
DataObjectTypeNameºóInsert,Update,Delete²éѯһֱµ÷ÊÔ²»³É¹¦£¬ÓÚÊǵ®ÉúÁËÈçÏÂʹÓ÷½·¨¡££©
Óëasp.net Ê¹Ó ......

C# ASP.NETÀï@µÄÃîÓÃ

C# ASP.NETÀï@µÄÃîÓÃ
ASP.NET C# string ×Ö·û´®µÄÇ°Ãæ¿ÉÒÔ¼Ó @ ¿ÉÒÔ½«×ªÒå×Ö·û£¨\£©µ±×÷ÆÕͨ×Ö·û¶Ô´ý¡£
±ÈÈ磺string str = @"C:\Windows";
Èç¹ûÎÒÃDz»Óà @ µÄ»°£¬Ó¦¸ÃÊÇ£ºstring str = "C:\\Windows";
 
@ ×Ö·û´®ÖУ¬ÎÒÃÇÓÃÁ½¸öÁ¬ÐøÓ¢ÎÄË«ÒýºÅ±íʾһ¸öÓ¢ÎÄË«ÒýºÅ£¬ÈçÏÂ×Ö·û´®µÄʵ¼ÊÄÚÈÝΪ£º="=£¬×Ö·û´®³¤¶ÈΪ 3 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ