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

dzÎöASP.NETÉú³ÉËæ»úÃÜÂë(ת)

 ÊµÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
public static string MakePassWord(string PwdChars, int Pwdlen)
{
    string mpstr = "";
    int iRandNum;
    Random mrnd = new Random();
    for (int i = 0; i < Pwdlen;i++ )
    {
        iRandNum = mrnd.Next(PwdChars.Length);
        mpstr += PwdChars[iRandNum];
    }
    return mpstr;
} ¶ÔÕÕÔ´Â룬½²Ò»Ï¾ßÌåµÄ˼·£º
·½·¨ MakePassword ½ÓÊÜÁ½¸ö²ÎÊý£¬pwdchars ²ÎÊýÖ¸¶¨Éú³ÉµÄËæ»úÃÜÂë´®¿ÉÒÔʹÓÃÄÄЩ×Ö·û£¬pwdlen Ö¸¶¨Éú³ÉµÄËæ»úÃÜÂë´®µÄ³¤¶È¡£ÓÐÁËÕâÁ½¸ö²ÎÊý£¬Í¨¹ýµ÷Óà Random ÀàµÄ Next() ·½·¨£¬ÏÈ»ñµÃÒ»¸ö´óÓÚ»òµÈÓÚ 0 ¶øСÓÚ pwdchars ³¤¶ÈµÄÕûÊý£¬ÒÔ¸ÃÊý×÷ΪË÷ÒýÖµ£¬´Ó¿ÉÓÃ×Ö·û´®ÖÐËæ»úÈ¡×Ö·û£¬ÒÔÖ¸¶¨µÄÃÜÂ볤¶ÈΪѭ»·´ÎÊý£¬ÒÀ´ÎÁ¬½ÓÈ¡µÃµÄ×Ö·û£¬×îºó¼´µÃµ½ËùÐèµÄËæ»úÃÜÂë´®ÁË¡£
´úÂëµ÷Óà MakePassword() ·½·¨»ñÈ¡³¤¶ÈΪ 10 £¬¿ÉÓÃ×Ö·û·¶Î§Îª´óСд×Öĸ¼°Êý×ÖµÄËæ»ú×Ö·û´®¡£
string randomchars ="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string password = MakePassword(randomchars, 10); ÒÔÉÏÊÇASP.NETÉú³ÉËæ»úÃÜÂë¡£


Ïà¹ØÎĵµ£º

ASP.NetµÄ20¾ä

__________________________________________________________
¼øÓÚ¹ã´óȺÖÚÒâ¼û£¬½áÌû£¬²»ÔÙ¶¥Æð¡£
¸Ðл¥Ö÷µÄ·ÖÏí¡£
by Öñ×Ó°æÖ÷
__________________________________________________________
¡¾Ç°Ðò¡¿
ASP.NET³£ÓÃÓï¾ä1--20Ìõ
ASP.NET³£ÓÃÓï¾ä21-26Ìõ
27.Êý×Ö¸ñʽ»¯
¡¾£¼%#Container.DataItem(&q ......

ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿


ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿
http://www.infoq.com/cn/news/2009/09/aspnet-php-benchmark
×÷Õß ÕÔ劼 ·¢²¼ÓÚ 2009Äê9ÔÂ15ÈÕ ÉÏÎç5ʱ33·Ö
ÉçÇø .NET Ö÷Ìâ ÐÔÄܺͿÉÉìËõÐÔ ±êÇ© PHP, ASP.NET
½áÂÛ£º
ÎÒÃÇ¿ÉÒÔÕâôÈÏΪ£¬¶ÔÓÚ´¿´âµÄPHPÖ´ÐÐÐÔÄÜÀ´Ëµ£¬LinuxºÍWindowsÏà²î ......

Asp.net¼¼ÇÉ£ºgridview»ñÈ¡µ±Ç°ÐÐË÷ÒýµÄ·½·¨

ÔÚÓÃGridView¿Ø¼þʱ£¬ÎÒÃǾ­³£»áÅöµ½»ñÈ¡µ±Ç°ÐеÄË÷Òý£¬Í¨¹ýË÷Òý½øÐÐÐí¶à²Ù×÷¡£ÀýÈ磬¿ÉÒÔ»ñµÃµ±Ç°ÐÐijһ¸ö¿Ø¼þÔªËØ£»ÉèÖÃijһԪËصÄÖµµÈµÈ¡£
ÏÂÃæ½áºÏʵÀý½éÉܼ¸ÖÖ»ñµÃGridViewµ±Ç°ÐÐË÷ÒýÖµµÄ·½·¨¡£
ʵÀý£º
¢Ù Ä¿µÄ£º»ñÈ¡GridViewÖÐRowCommandµÄµ±Ç°Ë÷ÒýÐС£
¢Ú ǰ̨ҳÃ棺ÔÚGridViewÖÐÌí¼Óһģ°æÁУ¬ÀïÃæÌí¼ÓÒ»¸öLink ......

asp.net ÖÐÇл»Ò³Ãæʱ Ϊʲôsession»á¶ªÊ§

ÎÊ£ºÎªÊ²Ã´SessionÔÚÓÐЩ»úÆ÷ÉÏż¶û»á¶ªÊ§£¿
´ð£º¿ÉÄܺͻúÆ÷µÄ»·¾³ÓйØϵ£¬±ÈÈ磺·À»ðǽ»òÕßɱ¶¾Èí¼þµÈ£¬³¢ÊԹرշÀ»ðǽ¡£
ÎÊ£ºÎªÊ²Ã´µ±µ÷ÓÃSession.Abandonʱ²¢Ã»Óм¤·¢Session_End·½·¨£¿
´ð£ºÊ×ÏÈSession_End·½·¨Ö»Ö§³ÖInProc£¨½ø³ÌÄڵģ©ÀàÐ͵ÄSession¡£Æä´ÎÒª¼¤·¢Session_End·½·¨£¬±ØÐë´æÔÚSession£¨¼´ÏµÍ³ÖÐÒѾ­Ê¹Ó ......

ÓÃASP.NET¶ÁÈ¡QQÏà²á

 ×î½üÓöµ½Òª¶ÁÈ¡QQÏà²áµÄÎÊÌ⣬ËùÒÔ×Ô¼ºÚÂÄ¥ÁËÏ£¬°Ñ¶ÁÈ¡Ïà²áµÄ˼·ºÍ´úÂëдÏÂÀ´¡£ 
      ºÜ¶àÍøÕ¾µ½Í¼Æ¬Á´½Ó¶¼×öÁ˵ÁÁ´´¦Àí¡£Òâ˼ÊÇÈç¹ûÄãÏëÔÚ²»ÊÇËûµÄÍøÕ¾ÉÏÒýÓÃͼƬ¾Í²»»áÕýÈ·ÏÔʾͼƬ£¬¶øÊÇÒ»ÕÅÆäËüµÄ°æȨ˵Ã÷Ö®ÀàµÄͼƬ¡£ÊµÏÖ·ÀµÁÁ´µÄÒ»°ã×öºÃÊÇͨ¹ýÅжÏRequestµÄHeadersÖеÄRe ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ