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

asp.netÈÕÆÚʱ¼äº¯Êý

//Ïêϸ½éÉÜasp.net»ñÈ¡ÈÕÆÚʱ¼äµÄ¸÷ÖÖ¸ñʽµÄº¯Êý
DateTime.Now.ToLocalTime().ToString();                // 2009-9-5 20:12:12
//»ñÈ¡ÈÕÆÚ
DateTime.Now.ToLongDateString().ToString();     // 2009Äê9ÔÂ5ÈÕ
DateTime.Now.ToShortDateString().ToString();        // 2009-9-5
DateTime.Now.ToString("yyyy-MM-dd");                 // 2009-09-05    ¡¡
DateTime.Now.Date.ToString();                            ¡¡// 2009-9-5 0:00:00
DateTime.ToFileTime().ToString();                    ¡¡// 128650040212500000
DateTime.Now.ToFileTimeUtc().ToString();         // 128650040772968750
DateTime.Now.ToOADate().ToString();                ¡¡// 39695.8461709606
DateTime.Now.ToUniversalTime().ToString();
//»ñȡʱ¼ä
DateTime.Now.ToLongTimeString().ToString();        // 20:16:16
DateTime.Now.ToShortTimeString().ToString();        // 20:16    ¡¡
DateTime.Now.ToString("hh:mm:ss");                 // 09:05:57    ¡¡
DateTime.Now.TimeOfDay.ToString();                    // 20:33:50.7197500
//ÆäËû
DateTime.ToFileTime().ToString();             &nbs


Ïà¹ØÎĵµ£º

ASP.NET web app performance issue ThreadPool

 
One of my bank customers planned to roll out a new ASP.NET web application serving as their critical internet banking portal. They faced some weird performance issue in their UAT environment. They noticed the CPU utilization was really high (above 90%) without any fluctuation. After checking ......

ASP.netÒ³ÃæÌøת·½Ê½ÈýÖÖ

 
asp.netÔÚ¿ª·¢Ê±,ÔÚ²»Í¬µÄÒ³Ãæ¼äÌøתÊÇÎÒÃdz£Óöµ½µÄÒ»¼þÊÂ,µ±Ò»¸ö¸´ÔÓµÄÂß¼­ÔÚÒ»¸öÒ³Ãæ·Å²»Ï·ֳɶþ¸ö»ò¶à¸öÒ³Ãæ´¦Àí¾ÍÐèÒªÔÚÒ³Ãæ¼äÌøת,ÓõÄ×î¶à»¹ÊÇÓû§µÄµÇ½°É.
ASP.NETÓõÄ×î¶àµÄÌøתÊÇResponse.Redirect,Õâ¸öÃüÁî¿ÉÒÔÖ±½Ó°ÑÇëÇóÖض¨Ïòµ½Ò»¸öÏà¶Ô»ò¾ø¶ÔµÄ·¾¶.Ëü»á°Ñµ±Ç°Ò³ÃæµÄµÄHttpÁ÷×è¶ÏÖ±½ÓÖض¨Ïòµ½ÐµÄU ......

ASP.NET ÅжÏÍøÒ³±àÂë¶ÁÈ¡ÄÚÈÝ£¬·ÀÖ¹ÂÒÂë

×î½üҪдһ¸öÔÚÍøÒ³ÖвéÕҹؼü×Ö¼°Á´½ÓµÄ³ÌÐò£¬ÔÚÊä³öµ½TextBoxµÄʱºò·¢ÏÖ¾­³£³öÏÖÂÒÂ룬ÕûÀíÁËһϸù¾Ý²»Í¬µÄ±àÂëÑ¡È¡ÍøÒ³Ô´Îļþ£¬Ä¿Ç°¿ÉÒÔ½â¾ö¼¸ÖÖ³£±àÂ뷽ʽµÄÍøÒ³£¬¸ÐÐËȤµÄ¿ÉÒÔÊÔÏ¡£
±¾À´ÏëÓÓ£½£½”ÅжϱàÂ룬¸Ð¾õ±È½ÏÂé·³£¬ËùÒÔ¸ÄÓñȽÏÄ£ºýµÄ·½·¨£¬ContainsÓÃÔÚÕâÀïͦ·½±ãµÄ¡£
Contains˵Ã÷£º¾ÍÊÇ·µ» ......

asp.net ´Ó×ÊÔ´ÎļþÖлñÈ¡×ÊÔ´ÄÚÈÝ¡¢»ñÈ¡×ÊÔ´Áбí

ΪÁËÄÜÈÃÀ´×Ô²»Í¬ÎÄ»¯Ï°¹ß»òʹÓò»Í¬ÓïÑÔ×÷ΪĸÓïµÄ·Ã¿ÍÄܹ»ÔĶÁÎÒÃǵÄÍøÕ¾£¬Ôò±ØÐëΪÕâЩ¶ÁÕßÌṩÓÃËûÃÇ×Ô¼ºµÄÓïÑԲ鿴ÍøÒ³µÄ·½·¨¡£Ò»ÖÖ·½·¨ÊÇ·Ö±ðÓø÷ÓïÑÔÖØд´½¨Ò³Ã棬µ«ÕâÖÖ·½·¨¿ÉÄÜÐèÒª´óÁ¿¹¤×÷Á¿¡¢ÈÝÒ׳ö´í²¢ÇÒÔÚ¸ü¸ÄԭʼҳʱºÜÄÑά»¤¡£ÀûÓà ASP.NET£¬¿ÉÒÔʹ´´½¨µÄÒ³Ãæ»ùÓÚä¯ÀÀÆ÷µÄÊ×Ñ¡ÓïÑÔÉèÖûòÓû§ÏÔʽѡÔñµÄÓïÑÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ