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

asp.netÃæÊÔÌâ(7)

101.ÔÚ.net£¨c# or vb.net£©ÖÐÈçºÎÈ¡ÏûÒ»¸ö´°ÌåµÄ¹Ø±Õ¡£   
 
´ð£ºprivate void form1_closing(object sender, system.componentmodel.canceleventargs e)   
 
{   
 
e.cancel=true;   
 
}    
 
 
 
102.ÔÚ.net£¨c# or vb.net£©ÖУ¬appplication.exit »¹ÊÇ form.closeÓÐʲô²»Í¬£¿   
 
´ð£ºÒ»¸öÊÇÍ˳öÕû¸öÓ¦ÓóÌÐò£¬Ò»¸öÊǹرÕÆäÖÐÒ»¸öform¡£   
 
 
 
103.ÔÚc#ÖÐÓÐÒ»¸ödoubleÐ͵ıäÁ¿£¬±ÈÈç10321.5£¬±ÈÈç122235401.21644£¬×÷Ϊ»õ±ÒµÄÖµÈçºÎ°´¸÷¸ö²»Í¬¹ú¼ÒµÄÏ°¹ßÀ´Êä³ö¡£±ÈÈçÃÀ¹úÓÃ$10,321.50ºÍ$122£¬235£¬401.22¶øÔÚÓ¢¹úÔòΪ¡ê10 321.50ºÍ¡ê122 235 401.22   
 
´ð£ºsystem.globalization.cultureinfo myculture = new system.globalization.cultureinfo("en-us");   
 
//system.globalization.cultureinfo myculture = new system.globalization.cultureinfo("en-gb");ΪӢ ¹ú »õ±ÒÀàÐÍ   
 
decimal y = 9999999999999999999999999999m;   
 
string str = string.format(myculture,"my amount = {0:c}",y);   
 
 
 
104.ijһÃÜÂë½öʹÓÃk¡¢l¡¢m¡¢n¡¢o¹²5¸ö×Öĸ£¬ÃÜÂëÖеĵ¥´Ê´Ó×óÏòÓÒÅÅÁУ¬ÃÜÂëµ¥´Ê±ØÐë×ñÑ­ÈçϹæÔò£º   
 
£¨1£© ÃÜÂëµ¥´ÊµÄ×îС³¤¶ÈÊÇÁ½¸ö×Öĸ£¬¿ÉÒÔÏàͬ£¬Ò²¿ÉÒÔ²»Í¬   
 
£¨2£© k²»¿ÉÄÜÊǵ¥´ÊµÄµÚÒ»¸ö×Öĸ   
 
£¨3£© Èç¹ûl³öÏÖ£¬Ôò³öÏÖ´ÎÊý²»Ö¹Ò»´Î   
 
£¨4£© m²»ÄÜʹ×îºóÒ»¸öÒ²²»ÄÜÊǵ¹ÊýµÚ¶þ¸ö×Öĸ   
 
£¨5£© k³öÏÖ£¬Ôòn¾ÍÒ»¶¨³öÏÖ   
 
£¨6£© oÈç¹ûÊÇ×îºóÒ»¸ö×Öĸ£¬ÔòlÒ»¶¨³öÏÖ   
 
ÎÊÌâÒ»£ºÏÂÁÐÄÄÒ»¸ö×Öĸ¿ÉÒÔ·ÅÔÚloÖеÄoºóÃ棬ÐγÉÒ»¸ö3¸ö×ÖĸµÄÃÜÂëµ¥´Ê£¿   
 
a) k b)l c) m d) n   
 
´ð°¸:b   
 
 
 
ÎÊÌâ¶þ£ºÈç¹ûÄܵõ½µÄ×ÖĸÊÇk¡¢l¡¢m£¬ÄÇôÄܹ»ÐγɵÄÁ½¸ö×Öĸ³¤µÄÃÜÂëµ¥´


Ïà¹ØÎĵµ£º

ÔÚASP.NETÖÐʹÓÃGlobal.asaxÎļþ

   Global.asax Îļþ£¬ÓÐʱºò½Ð×ö ASP.NET Ó¦ÓóÌÐòÎļþ£¬ÌṩÁËÒ»ÖÖÔÚÒ»¸öÖÐÐÄλÖÃÏìÓ¦Ó¦ÓóÌÐò¼¶»òÄ£¿é¼¶Ê¼þµÄ·½·¨¡£Äã¿ÉÒÔʹÓÃÕâ¸öÎļþʵÏÖÓ¦ÓóÌÐò°²È«ÐÔÒÔ¼°ÆäËüһЩÈÎÎñ¡£ÏÂÃæÈÃÎÒÃÇÏêϸ¿´Ò»ÏÂÈçºÎÔÚÓ¦ÓóÌÐò¿ª·¢¹¤×÷ÖÐʹÓÃÕâ¸öÎļþ¡£
    ¸ÅÊö
    Global.asax λÓÚÓ¦Óà ......

ASP.NETÖÐÖ´ÐÐURLÖØд

 
¿ÉÒÔʹÓà ISAPI ɸѡÆ÷ÔÚ IIS Web ·þÎñÆ÷¼¶±ðʵÏÖ URL ÖØд£¬Ò²¿ÉÒÔʹÓà HTTP Ä£¿é»ò HTTP ´¦Àí³ÌÐòÔÚ
ASP.NET ¼¶±ðʵÏÖ URL ÖØд¡£±¾ÎÄÖصã½éÉÜÈçºÎʹÓà ASP.NET ʵÏÖ URL ÖØд£¬Òò´ËÎÒÃǽ«²»¶ÔʹÓà ISAPI ɸѡÆ÷ʵÏÖ
URL ÖØдµÄϸ½Ú½øÐÐÉîÈë̽ÌÖ¡£µ«ÊÇ£¬ÓдóÁ¿µÄµÚÈý·½ ISAPI ɸѡÆ÷¿ÉÓÃÓÚ URL ÖØд£¬ÀýÈ磺 ......

ASP.Net ÀûÓ÷´Éäµ÷ÓÃÒ³Ãæ·½·¨

¡¡¡¡ÏÖÔںܶàµÄÕ¾µã¶¼ÊÇ»ùÓÚJQueryUI¡¢ExtJSµÈµÈ½çÃæ¿â¿ª·¢µÄ£¬¿ÉÒÔ˵ǰ̨ʹÓÃÁË´óÁ¿µÄ½Å±¾¼°¾²Ì¬Ò³Ã棬¶øºǫ́ÍùÍùÖ»×öΪÇëÇóÒ³ÃæÊý¾ÝÀ´Óã¬ÄÇôºÏÀíµÄÀûÓ÷´É䣬ͨ¹ý´«µÝÖ¸Á»ò¶¯×÷£©µÄ²ÎÊý£¬µ÷ÓÃÒ³ÃæµÄÏà¹Ø·½·¨£¬±ã¿ÉÒÔ¼õÉٺܶàµÄ´úÂëÁ¿¡£
1¡¢ËùÓеÄÒ³Ã涼¼Ì³ÐÓÚÒ»¸ö»ùÀàBasePage
2¡¢ÔÚBasePageÀàÖÐOnLoadʼþÔö¼Ó·´É ......

Asp.netÈÕÆÚ×Ö·û´®¸ñʽ»¯ÏÔʾ

Asp.netÈÕÆÚ×Ö·û´®¸ñʽ»¯ÏÔʾ--DateTime.ToString()Ó÷¨Ïê½â
ÎÒÃǾ­³£»áÓöµ½¶Ôʱ¼ä½øÐÐת»»,´ïµ½²»Í¬µÄÏÔʾЧ¹û£¬Ä¬ÈϸñʽΪ:2006-6-6 14:33:34
Èç¹ûÒª»»³É³É200606,06-2006,2006-6-6»ò¸ü¶àµÄ¸ñʽ¸ÃÔõô°ìÄØ£¿
ÕâÀォҪÓõ½:DateTime.ToStringµÄ·½·¨(String, IFormatProvider)
ʾÀý£º
using System;
using Syste ......

Àí½âASP.NET 2.0Öеĵ¥µãµÇ¼

 ÕªÒª
ÔÚÕâƪÎÄÕÂÖУ¬MasoudÌÖÂÛÁËÓ¦ÓÃASP.NETÖÐͳһÉí·ÝÑé֤ģÐͽøÐпçÓ¦ÓóÌÐòÑéÖ¤µÄÎÊÌ⣬°üÀ¨£ºMembership Providers, web.configÅäÖÃ,ÅäÖÃÎļþµÄ¼ÓÃܽâÃܵȡ£ÔÚÎÄÕµÄ×îºó£¬×÷ÕßÌṩÁËͨ¹ýASP.NET login controlsÀ´ÑéÖ¤µÄ³ÌÐò¡£
by Masoud Tabatabaei:
Ŀ¼
¼ò½é
ʲôÊÇSSO£¿ËüÊÇÔõÑù¹¤×÷µÄ£¿
ϵͳÌõ¼þ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ