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

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

61.²úÉúÒ»¸öintÊý×飬³¤¶ÈΪ100£¬²¢ÏòÆäÖÐËæ»ú²åÈë1-100£¬²¢ÇÒ²»ÄÜÖظ´¡£   
 
int[] intarr=new int[100];   
 
arraylist mylist=new arraylist();   
 
random rnd=new random();   
 
while(mylist.count<100)   
 
{   
 
int num=rnd.next(1,101);   
 
if(!mylist.contains(num))   
 
mylist.add(num);   
 
}   
 
for(int i=0;i<100;i++)   
 
intarr[i]=(int)mylist[i];    
 
 
 
62.Çë˵Ã÷ÔÚ.netÖг£Óõļ¸ÖÖÒ³Ãæ¼ä´«µÝ²ÎÊýµÄ·½·¨£¬²¢Ëµ³öËûÃǵÄÓÅȱµã¡£   
 
´ð£ºsession(viewstate) ¼òµ¥£¬µ«Ò׶ªÊ§   
 
application È«¾Ö   
 
cookie ¼òµ¥£¬µ«¿ÉÄܲ»Ö§³Ö£¬¿ÉÄܱ»Î±Ôì   
 
input ttype="hidden" ¼òµ¥£¬¿ÉÄܱ»Î±Ôì   
 
url²ÎÊý ¼òµ¥£¬ÏÔʾÓÚµØÖ·À¸£¬³¤¶ÈÓÐÏÞ   
 
Êý¾Ý¿â Îȶ¨£¬°²È«£¬µ«ÐÔÄÜÏà¶ÔÈõ   
 
 
 
63.ÇëÖ¸³ögacµÄº¬Ò壿   
 
´ð£ºÈ«¾Ö³ÌÐò¼¯»º´æ¡£   
 
 
 
64.Ïò·þÎñÆ÷·¢ËÍÇëÇóÓм¸ÖÖ·½Ê½£¿   
 
´ð£ºget,post¡£getÒ»°ãΪÁ´½Ó·½Ê½£¬postÒ»°ãΪ°´Å¥·½Ê½¡£   
 
 
 
65.datareaderÓëdatasetÓÐʲôÇø±ð£¿   
 
´ð£ºÒ»¸öÊÇÖ»ÄÜÏòÇ°µÄÖ»¶ÁÓα꣬һ¸öÊÇÄÚ´æÖÐµÄ±í¡£   
 
 
 
66.Èí¼þ¿ª·¢¹ý³ÌÒ»°ãÓм¸¸ö½×¶Î£¿Ã¿¸ö½×¶ÎµÄ×÷Óã¿   
 
´ð£ºÐèÇó·ÖÎö£¬¼Ü¹¹Éè¼Æ£¬´úÂë±àд£¬qa£¬²¿Êð   
 
 
 
67.ÔÚc#ÖÐusingºÍnewÕâÁ½¸ö¹Ø¼ü×ÖÓÐʲôÒâÒ壬Çëд³öÄãËùÖªµÀµÄÒâÒ壿using Ö¸Áî ºÍÓï¾ä new ´´½¨ÊµÀý new Òþ²Ø»ùÀàÖз½·¨¡£   
 
´ð£ºusing ÒýÈëÃû³Æ¿Õ¼ä»òÕßʹÓ÷ÇÍйÜ×ÊÔ´   
 
new н¨ÊµÀý»ò


Ïà¹ØÎĵµ£º

ASP.NET¿çÒ³Ãæ´«Öµ¼¼ÇÉ×ܽá

 ¡ï1.  Ê¹ÓÃQueryString±äÁ¿
¡¡¡¡¡¡QueryStringÊÇÒ»Öַdz£¼òµ¥µÄ´«Öµ·½Ê½£¬Ëû¿ÉÒÔ½«´«Ë͵ÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖС£Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£µ«ÊǶÔÓÚ´«µÝÊý×é»ò¶ÔÏóµÄ»°£¬¾Í²»ÄÜÓÃÕâ¸ö·½·¨ÁË¡£ÏÂÃæÊÇÒ»¸öÀý×Ó£º
a.aspxµÄC#´úÂë
private vo ......

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

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

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

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

ASP.NETÏÂFCKeditorÅäÖ÷½·¨È«½â

±¾ÎÄËù²ÉÓõÄFCKeditor°æ±¾ÊÇFCKeditor 2.6.4ºÍFCKeditor.NET 2.6.3£¬¶¼Êǵ±Ç°FCKeditorµÄ×îа汾http://www.fckeditor.netÉÏ¿ÉÒÔÕÒµ½¡£
¸ãASP.NET¿ª·¢ÓÐÒ»Äêʱ¼äÁË£¬×öÍøվʱ³£³£Óõ½ÔÚÏßHTML±à¼­Æ÷£¬Ò»Ö±ÓõÃÊÇFCKeditor¡£FCKeditorÔÚASP.NETÉϵļ¯³ÉºÍÅäÖ㬿ÉÒÔ˵¸ãµÃÒѾ­ºÜÇå³þÁË¡£ÔÚÍøÂçÉϵõ½¹ýºÜ¶àÇ°±²Í¬ÈÊÃǵİï ......

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

41.¹¹ÔìÆ÷constructorÊÇ·ñ¿É±»override?   
 
´ð£º¹¹ÔìÆ÷constructor²»Äܱ»¼Ì³Ð£¬Òò´Ë²»ÄÜÖØдoverriding£¬µ«¿ÉÒÔ±»ÖØÔØoverloading¡£   
 
 
 
42.ÊÇ·ñ¿ÉÒԼ̳ÐstringÀà?   
 
´ð£ºstringÀàÊÇfinalÀà¹Ê²»¿ÉÒԼ̳С£  &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ