asp.netÃæÊÔÌâ(2)
11.ÓÃ.net×öb/s½á¹¹µÄϵͳ£¬ÄúÊÇÓü¸²ã½á¹¹À´¿ª·¢£¬Ã¿Ò»²ãÖ®¼äµÄ¹ØϵÒÔ¼°ÎªÊ²Ã´ÒªÕâÑù·Ö²ã£¿
´ð£ºÒ»°ãΪ3²ã
Êý¾Ý·ÃÎʲ㣬ҵÎñ²ã£¬±íʾ²ã¡£
Êý¾Ý·ÃÎʲã¶ÔÊý¾Ý¿â½øÐÐÔöɾ²é¸Ä¡£
ÒµÎñ²ãÒ»°ã·ÖΪ¶þ²ã£¬ÒµÎñ±í¹Û²ãʵÏÖÓë±íʾ²ãµÄ¹µÍ¨£¬ÒµÎñ¹æÔò²ãʵÏÖÓû§ÃÜÂëµÄ°²È«µÈ¡£
±íʾ²ãΪÁËÓëÓû§½»»¥ÀýÈçÓû§Ìí¼Ó±íµ¥¡£
Óŵ㣺 ·Ö¹¤Ã÷È·£¬ÌõÀíÇåÎú£¬Ò×ÓÚµ÷ÊÔ£¬¶øÇÒ¾ßÓпÉÀ©Õ¹ÐÔ¡£
ȱµã£º Ôö¼Ó³É±¾¡£
12.ÔÚÏÂÃæµÄÀý×ÓÀï
using system;
class a
{
public a()
{
printfields();
}
public virtual void printfields(){}
}
class b:a
{
int x=1;
int y;
public b()
{
y=-1;
}
public override void printfields()
{
console.writeline("x={0},y={1}",x,y);
}
µ±Ê¹ÓÃnew b()´´½¨bµÄʵÀýʱ£¬²úÉúʲôÊä³ö£¿
´ð£ºx=1,y=0;x= 1 y = -1
13.ʲô½ÐÓ¦ÓóÌÐòÓò£¿
´ð£ºÓ¦ÓóÌÐòÓò¿ÉÒÔÀí½âΪһÖÖÇáÁ¿¼¶½ø³Ì¡£Æðµ½°²È«µÄ×÷Óá£Õ¼ÓÃ×ÊԴС¡£
14.cts¡¢cls¡¢clr·Ö±ð×÷ºÎ½âÊÍ£¿
´ð£ºcts£ºÍ¨ÓÃÓïÑÔϵͳ¡£cls£ºÍ¨ÓÃÓïÑԹ淶¡£clr£º¹«¹²ÓïÑÔÔËÐп⡣
15.ʲôÊÇ×°ÏäºÍ²ðÏ䣿 &nbs
Ïà¹ØÎĵµ£º
SessionÄ£Ðͼò½é
SessionÊÇʲôÄØ£¿¼òµ¥À´Ëµ¾ÍÊÇ·þÎñÆ÷¸ø¿Í»§¶ËµÄÒ»¸ö±àºÅ¡£µ±Ò»Ì¨WWW·þÎñÆ÷ÔËÐÐʱ£¬¿ÉÄÜÓÐÈô¸É¸öÓû§ä¯ÀÀÕýÔÚÔËÕýÔÚÕą̂·þÎñÆ÷ÉϵÄÍøÕ¾¡£µ±Ã¿¸öÓû§Ê×´ÎÓëÕą̂WWW·þÎñÆ÷½¨Á¢Á¬½Óʱ£¬Ëû¾ÍÓëÕâ¸ö·þÎñÆ÷½¨Á¢ÁËÒ»¸öSession£¬Í¬Ê±·þÎñÆ÷»á×Ô¶¯ÎªÆä·ÖÅäÒ»¸öSessionID£¬ÓÃÒÔ±êʶÕâ¸öÓû§µÄΨһÉí·Ý¡£Õâ¸öSessionI ......
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆڼ䣬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.ArgumentException: ²»Ö§³Ö URI ¸ñʽ¡£
Ô´´íÎó:
ÐÐ 30: protected void BTNCLick(object sender, EventArgs e)
ÐÐ 31: {
ÐÐ 32: System.IO. ......
1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(" <script>window.alrt('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡') </script>"); Response.Write(" <script>window.loation='http://www.cnblogs.com/kevin1031" target="_blank">http://www.cnblogs.com/kevin1031' </script>");
2.//µ¯³ö¶Ô»°¿ ......
asp,asp.net,php,jspϵÄ301תÏò´úÂë
ʹÓÃ.htaccessÎļþÀ´½øÐÐ301Öض¨Ïò¡£
Èç¹û¿Õ¼ä²»Ö§³Ö.htaccessÎļþ£¬ÄÇôÎÒÃÇ»¹¿ÉÒÔͨ¹ýphp/asp´úÂëÀ´½øÐÐ301Öض¨Ïò¡£
ΪÁ˽«ËÑË÷ÒýÇæµÄ¼Ç¼¸üе½ÏÖÔÚµÄÓòÃûÉÏÃæ,×öÁ˼¸¸ö301Öض¨ÏòµÄ¶«¶«,¸ø´ó¼Ò·ÖÏíÒ»ÏÂ.
asp 301תÏò´úÂë
ÔÚ index.asp »ò default.asp µÄ×²¿¼ÓÈëÒÔ ......
asp.net ʵÏÖ¶¨Ê±Ö´ÐÐ Ò»¸ö·½·¨
public class Time_Task
{
public event System.Timers.ElapsedEventHandler ExecuteTask;
private static readonly Time_Task _task = null;
private System.Timers.Timer _timer = null;
privat ......