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

Asp.net AjaxÖÐÃæÏò¶ÔÏóµÄʹÓÃ

ÎÒ±¾ÒÔΪ¿ÉÒÔ°ÑËûÃÇÒ»¸öÀàÒ»¸öÀàµÄ°´jsÎļþ×éÖ¯ÆðÀ´£¬ÈçClassOne.jsÀï¾Í·ÅClassOneÀ࣬ClassTwo.jsÀï¾Í·ÅClassTwoÀ࣬ÏñC#ÕâÑù×éÖ¯£»½á¹û¸ù±¾²»ÐС£
ÎÒÓÖÊÔÁËÏÂÒ³ÃæA.aspxµ÷B.aspxÒ³ÃæÀïдºÃµÄÀ࣬»¹ÊDz»ÐС£
Ô­À´ËùÓеļ̳С¢¸´ÓÃʲôµÄ¶¼µÃÔÚͬһҳÃæÀï²ÅÓÐЧѽ£¿£¨×îºÃÊÇÎÒÀí½â´íÁË£©ÕâÑù»¹ÓÐʲô¾¢£¿¾ÍÒ»¸öÒ³ÃæÀïÄǵ㶫Î÷£¬»¹ÓõÃ×Å¡°ÃæÏò¶ÔÏó¡±£¿

µ±È»£¬ÕⶼÊÇÎÒÏ뵱ȻµÄ£¬ºÇºÇ¡£
¹Ø¼üÊÇÎÒû¼û¹ýÕæÕýµÄasp.net AjaxµÄ¹¤³Ì£¬¸ßÊÖÃǸøµãÖ¸µã°É£¡
Ò»¸öDemoÊÇ×îºÃµÄÁË¡£
¼ûʶһÏ¡£

»¶Ó­ÌÖÂÛ¡­¡­

ÎÒҲû¼û¹ý¡£¡£¡£Ñ§Ï°ÖÐ


ÒýÓÃ
ÆäʵҲºÜ¼òµ¥¡£±ÈÈçScriptsĿ¼ÏÂÓжþ¸ö.js: Father.js, Son.js
//Father.js
JScript codeType.registerNamespace("Family");

Family.Father=function(lastname) {this._lastname= lastname;
}
Family.Father.prototype=
{
    get_LastName:function() {returnthis._lastname; }
}
Family.Father.registerClass('Family.Father');if (typeof (Sys)!='undefined') Sys.Application.notifyScriptLoaded();

//Son.js
JScript code
Family.Son=function(firstname, lastname) {
    Family.Son.initializeBase(this, [lastname]);this._firstname= firstname;

}
Family.Son.prototype=
{
    get_FirstName:function() {returnthis._firstname; },
    get_FullName:function() {returnthis.get_FirstName()+''+thi


Ïà¹ØÎÊ´ð£º

Çóasp.netʵÏÖÔÚÏßÊÓƵÓïÒô¼Öƹ¦ÄÜÔ´Âë

ллÁË£¬¸ßÊÖÃÇ¿ìÀ´°¡~
¹À¼Æû²å¼þʲôµÄ²»Ðаɡ£

ÎÒÒ²Òª  лл¸÷λ·¢ÎÒÒ»·Ýliujintaohfbb@163.com
ллÁË  Ò»¶¨Òª·¢ÎÒ°¡

¶÷ÕÒµ½ÁË,±ðÍüÁ˶
401533349@163.com

http://download.csdn.n ......

asp.net½çÃæ

ÎÒ×öÁËÒ»¸öasp.netµÄÍøÒ³£¬µ«½çÃæÌ«ÄÑ¿´£¬ÓÃʲô¹¤¾ß¿ÉÒÔÃÀ»¯Ï£¿
Ò»°ã¾ÍÊÇcssºÍflashÁË.

»òÕßÓÃһЩµÚÈý·½µÄasp.net¿Ø¼þ.

ÎÒµÄÒ³ÃæÔÚ´óÒ»µãµÄÏÔʾÆÁÉϲ»»á×Ô¶¯ÉìËõ£¬Ôõô°ì£¿

ÃÀ¹¤°¡£¬CSS£¬²»»á°É£¬´´½¨Ò ......

asp.netÔÚ·þÎñÆ÷ÎÞ·¨²¥·ÅflvÊÓƵ

±¾ÈËʹÓÃswfobject.jsÔÚ±¾»ú¿ÉÒÔÕý³£²¥·Å£¬µ«·¢²¼µ½win2003·þÎñÆ÷¾ÍÎÞ·¨²¥·Å£¬ÍøÉÏÕÒÁËÐí¶à¶¼ËµÐèÒªÅäÖÃMIMEÀàÐÍ£¬ÎÒÅäÖÃÁËҲûÓгɹ¦£¬Çë¸ßÊÖÖ¸µãÒ»ÏÂ
·þÎñÆ÷ÊÇ·ñÖ§³Ö£¬Â·¾¶ÊÇ·ñÕýÈ·


ÓеķþÎñÆ÷¿ÉÄܲ»Ö§³Ö ......

ÈçºÎÉú³ÉASCII¸ñʽÎļþ asp.net

rt  ÎÒÉú³ÉµÄÎļþµÄ±£´æ¶¼ÊÇutf-8 ÈçºÎÄÜÊÖ¶¯¿ØÖƳÉASCII


System.IO.File.WriteAllText(@"c:\a.txt", "hello", Encoding.ASCII);

ÄÇÊ×ÏÈ¿´Äã¶Á½øÀ´µÄÎļþÊǸöʲô±àÂë¸ñʽ,Èç¹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ