asp.net ajax ÀàÐÍϵͳdemo
<mce:script language=javascript><!--
//×¢²áÃüÃû¿Õ¼ä
Type.registerNamespace("Demo");
Demo.Message=function(content,publishTime)
{
this._content = content;
this._publishTime = publishTime;
}
Demo.Message.prototype=
{
get_content: function()
{
return this._content;
},
get_publishTime: function()
{
return this._publishTime.format("yyyy-MM-dd HH:mm:ss");
},
toString: function()
{
return this.get_content() + " " + this.get_publishTime();
}
}
//×¢²áÀà
Demo.Message.registerClass("Demo.Message");
Demo.IContent=function()
{
}
Demo.IContent.prototype
{
showContent:function()
{}
}
//×¢²á½Ó¿Ú
Demo.IContent.registerInterface("Demo.IContent");
Demo.MessageWithUserId = function(userId, content, publishTime)
{
Demo.MessageWithUserId.initializeBase(this, [content, publishTime]);
this._userId = userId;
}
// ¶¨ÒåDemoÃüÃû¿Õ¼äϵÄMessageWithUserIdÀàµÄ·½·¨
Demo.MessageWithUserId.prototype =
{
get_userId: function()
{
return this._userId;
},
showContent: function()
{
return Demo.MessageWithUserId.callBaseMethod(this, 'get_content')
},
// callBaseMethodÓÃÓÚµ÷ÓûùÀàµÄ·½·¨
toString: function()
{
return this.get_userId() + " " + Demo.MessageWithUserId.callBaseMethod(this, 'toString');
}
}
// ×¢²áÒ»¸ö¼Ì³Ð×ÔDemo.MessageÀàºÍDem
Ïà¹ØÎĵµ£º
16. Êʵ±µØʹÓù«¹²ÓïÑÔÔËÐпâµÄÀ¬»ø»ØÊÕÆ÷ºÍ×Ô¶¯ÄÚ´æ¹ÜÀí ¡¡¡¡
СÐIJ»Òª¸øÿ¸öÇëÇó·ÖÅä¹ý¶àÄڴ棬ÒòΪÕâÑùÀ¬»ø»ØÊÕÆ÷½«±ØÐë¸üƵ·±µØ½øÐиü¶àµÄ¹¤×÷¡£ÁíÍ⣬²»ÒªÈò»±ØÒªµÄÖ¸ÕëÖ¸Ïò¶ÔÏó£¬ÒòΪËüÃǽ«Ê¹¶ÔÏ󱣳ֻ״̬£¬²¢ÇÒÓ¦¾¡Á¿±ÜÃ⺬ Finalize ·½·¨µÄ¶ÔÏó£¬ÒòΪËüÃÇÔÚºóÃæ»áµ¼Ö¸ü¶àµÄ¹¤×÷¡£ÌرðÊÇÔÚ Finalize µ÷ÓÃÖ ......
1£¬Èç¹ûÊÇÖ»°²×°ÁË.net framework 1.1 ÔÚiisÖÐÊDz»ÏÔʾÄǸöÑ¡ÏµÄ¡£Ä¬ÈϾͻáÖ§³Öasp.net1.1¡£ÔÚ°²×°ÁË.net framework 2.0ºó£¬iisÕ¾µãÊôÐÔÀï²Å»áÓÐasp.netµÄÑ¡Ïî¡£
2£¬°²×°asp.net2.0ºó£¬Çë¹Ø±Õiis´°¿Ú£¬ÖØдò¿ªiis£¬iisÕ¾µãÊôÐÔÀï²Å»áÓÐasp.netµÄÑ¡Ïî
3£¬Èç¹û»¹Ã»ÓУ¬ÄÇô¾ÍÒªÖØÐÂÔÚIISÖÐ×¢²áasp.net£¬·½·¨ÈçÏ£º ......
ÏÂÃæ½éÉÜÈçºÎ½øÐÐASP.NETÖÐÍøÕ¾·ÃÎÊÁ¿µÄͳ¼Æ¡£
Ò»¡¢½¨Á¢Ò»¸öÊý¾Ý±íIPStatÓÃÓÚ´æ·ÅÓû§ÐÅÏ¢
ÎÒÔÚIPStat±íÖдæ·ÅµÄÓû§ÐÅÏ¢Ö»°üÀ¨µÇ¼Óû§µÄIP£¨IP_Address£©£¬IPÀ´Ô´£¨IP_Src£©ºÍµÇ¼ʱ¼ä£¨IP_DateTime£©£¬Ð©±íµÄÐÅÏ¢±¾ÈËÖ»±£´æÒ»ÌìµÄÐÅÏ¢£¬Èç¹ûҪͳ¼Æÿ¸öÔµÄÐÅÏ¢ÔòÒª±£´æÒ»¸öÔ¡£
¶þ¡¢ÔÚGlobal.asaxÖлñÈ¡Óû§ÐÅÏ¢ ......
ÔÚasp.netÖÐʹÓÃFCKeditor£¬¼òµ¥ÊµÓÃÅäÖá£
ÔÚÏÂÒѾ³É¹¦ÅäÖò¢Ê¹Óã¬È«²¿¹¦Äܾù¿ÉÓ㬰üº¬ÉÏ´«Í¼Æ¬µÈ¡£
ÔÚÏ»·¾³
1.Microsoft Visual Web Developer 2005
2.FCKeditor.Net_2.6.3.zip ÏÂÔصØÖ·£ºhttp://download.csdn.net/source/1833985
3.FCKeditor_2.6.5.zip ÏÂÔصØÖ·£ºhttp://download.cs ......
¸ÅÄµ±Î»ÓÚUpdatePanel¿Ø¼þÍⲿµÄij¸ö¿Ø¼þµÄÌض¨Ê¼þ±»´¥·¢Ê±¾ÍÒý·¢Òì²½»ØËͲ¢¾Ö²¿¸üÐÂUpdatePanel¿Ø¼þµÄÄÚÈÝ¡£
ËüµÄºÃ´¦ÊÇ£ºÎÒÃÇÖ»Ðè°ÑÐèÒª¸üеÄÊý¾Ý¿Ø¼þ·ÅÔÚUpdatePanel¿Ø¼þÀ¶ø²»ÐèÒª¸üеĿؼþÎÒÃǾͰÑËü·ÅÔÚUpdatePanel¿Ø¼þµÄÍâÃ棬Èç´ËÒ»À´£¬²Å¿ÉÒÔÓÐЧµÄ½µµÍÍù·µÓÚWEB·þÎñÆ÷µÄÊý¾ÝÁ¿£¬²¢Ë³ÊƽµµÍWEB·þÎñ ......