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£¬ÄÇôÄܹ»ÐγɵÄÁ½¸ö×Öĸ³¤µÄÃÜÂëµ¥´
Ïà¹ØÎĵµ£º
½ñÌìÔÚ¿ª·¢ÖУ¬Óöµ½ÁËÒ»¸öÎÊÌ⣺
ÔÚHeaderÖÐÓÐÒ»¸öËÑË÷ÊäÈë¿ò£¬ËÑË÷°´Å¥ÊÇButton¿Ø¼þ£¬ÔÚ“×ÊѶÎÄÕÂËÑË÷”Óû§×Ô¶¨Òå¿Ø¼þÖÐÒ²Óõ½ÁËButton¿Ø¼þ¡£
½«½¹µãÍ£ÔÚ“×ÊѶ±êÌâ»òÄÚÈÝ”ÊäÈë¿òÖУ¬»Ø³µ£¬µ«ÊÇÏàÓ¦µÄÊÇHeaderÖÐÊäÈë¿òÄÚÈÝ¡£
Ô ......
asp,asp.net,php,jspϵÄ301תÏò´úÂë
ʹÓÃ.htaccessÎļþÀ´½øÐÐ301Öض¨Ïò¡£
Èç¹û¿Õ¼ä²»Ö§³Ö.htaccessÎļþ£¬ÄÇôÎÒÃÇ»¹¿ÉÒÔͨ¹ýphp/asp´úÂëÀ´½øÐÐ301Öض¨Ïò¡£
ΪÁ˽«ËÑË÷ÒýÇæµÄ¼Ç¼¸üе½ÏÖÔÚµÄÓòÃûÉÏÃæ,×öÁ˼¸¸ö301Öض¨ÏòµÄ¶«¶«,¸ø´ó¼Ò·ÖÏíÒ»ÏÂ.
asp 301תÏò´úÂë
ÔÚ index.asp »ò default.asp µÄ×²¿¼ÓÈëÒÔ ......
81.ʲôÊÇsoap,ÓÐÄÄЩӦÓá£
´ð£ºsimple object access protocal,¼òµ¥¶ÔÏó½ÓÊÜÐÒé.ÒÔxmlΪ»ù±¾±àÂë½á¹¹,½¨Á¢ÔÚÒÑÓÐͨÐÅÐÒéÉÏ(Èçhttp,²»¹ý¾Ý˵msÔÚ¸ã×îµ×²ãµÄ¼Ü¹¹ÔÚtcp/ipÉϵÄsoap)µÄÒ»Öֹ淶web serviceʹÓõÄÐÒé..
82.c#ÖÐ property Óë a ......