<script type="text/javascript" language="javascript">
function excuAjax(url, funName, param) {
var xmlhttp;
if (window.ActiveXObject) {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
......
Çë½ÌÄúÒ»¸öÎÊÌ⣿ÎÒÏÖÔÚÓöµ½ÕâÑùÒ»¸öÇé¿ö£¬
±ÈÈç˵ÎÒÐèÒªÌá½»ÕâÑùÒ»¸öÍøÖ·£ºhttp://www.xxx.com/xxx.asp?a=2323&b=sdf&c=sdfsf
Õâ¸öÍøÖ·²»¹Ü²ÎÊýÕýÈ·Óë·ñ£¬¶¼»á·µ»ØÒ»¸öXMLµÄÎĵµ£¬ÇëÎÊÎÒÈçºÎÔÚÌá½»Õâ¸öÍøÒ³ºóÁ¢¼´ÄÜ»ñÈ¡µ½·µ»ØµÄXML£¬ÒÔ±ãÎÒ½øÐÐÅжϣ¡
´ó¼ÒÓÐË»áµÄ£¬Çë½ÌÁË£¡Ð»Ð»£¡Ê¹ÓÃC#
±¾È˵ÚÒ»´Î·¢Ìû£¬Çë´ ......
XMLÎļþÄÚÈÝ£º
<type>
<item>type1</item>
<item>type2</item>
<item>type3</item>
</type>
ÔõôÅжÏÊÇ·ñÓаüº¬type1µÄ½Úµã
±éÀú¾ÍËãÁË
ÄǾͰÑËü×öΪ×Ö·û´®´¦Àí, xx.indexof("type1")!=-1
C# code:
string xml = string.Empty;
XmlDo ......
´ó¼ÒºÃ C#ÀïÃæÄܲ»ÄÜÔÚ formÀïÃæ·ÅÖÃÒ»¸öButton £¬È»ºóÓÃÕâ¸öButtonµ÷ÓÃÎÒµçÄÔÀï×Ô¼º±àµÄ1.c³ÌÐòÄØ£¿
ÎÒÕâ¸ö1.c³ÌÐòÊÇʵÏÖÊäÈ뼸¸öÊý Çóƽ¾ùÖµµÈһϵͳ¼ÆËã
ÄܵĻ°¾ßÌå´úÂëÔõôдÄØ£¿ÏÈллÁË
ÇëÎÊÄãÄÇC³ÌÐòÊǸöÀà¿âÏîÄ¿»¹ÊÇEXEÖ´ÐÐÏîÄ¿ÄØ...
P/Invoke £¬°Ñc³ÌÐò·â×°³ÉDLL£¬¸øC#³ÌÐòµ÷ÓõľÍÐÐ
Ê×ÏȽ«ÄãµÄC ......
´ó¼ÒºÃ£¬ÎÒÊÇÐÂÊÖ£¬¸Õ¿ªÊ¼½Ó´¥C/S½á¹¹µÄ³ÌÐò£¬ÏëҪʵÏÖÒ»¸ö·ÖÒ³¹¦ÄÜ£¬´ó¼ÒÓÐûÓкõãµÄ·ÖÒ³¿Ø¼þ»òÕß³ÌÐòÖ®ÀàµÄ£¬µ±È»Ô´³ÌÐò¸üºÃ£¬·ñÔò˵˵Á÷³ÌÒ²¿ÉÒÔ£¬Ð¡Ãü±°¡£¬ÔÚÏߵȡ£¡£¡£¡£
´ó¼Ò°ï°ï棬лÁË£¡
×Ô¼ºÐ´Ñ½£¡
ºÍB/S·ÖÒ³Ò»ÑùµÄ£¡
×Ô¼ºÐ´¸ö¿Ø¼þÒ²ÐУ¡
×Ô¼ºÐ´²»ÁË°¡....
ÍøÉÏÕҿؼþ»òÕß×Ô¼ºÐ´£¡
C/SµÄ·ÖÒ³ºÍB/S ......
1¡¢ÔÚcÖпÉÒÔÉùÃ÷¼Ä´æÆ÷±äÁ¿È磺register int i£»c#.netÓÐûÓÐÀàËƵÄÉùÃ÷£¿
2¡¢ÔÚcÖпÉÒÔÓÃfflush(stdout)Çå³ý»º´æ£¬c#.netÖÐÓÐûÓжÔÓ¦µÄ·½·¨£¿
½áÌûÂʳ¬µÍ£¬È»Ã»È˻شðÄãµÄÎÊÌâ
c#˕̾
Response.Expires=0;
Çå³ýIE»º´æ
1£¬ C#ÖÐûÓÐÀàËƵÄÉùÃ÷£¬ ¾ÍËãÔÚCÖÐÉùÃ÷ÁËÒ²²»Ò»¶¨ÕæµÄ¾ ......