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

C#»ñÈ¡webbrowserÖеÄHTMLÎÊÌâÇóÖú - .NET¼¼Êõ / C#

C#webbrowserÖÐÓÐÕâÑùÒ»¶ÎHTML´úÂë:
<INPUT id=71999002^71999005^1 desc="AAA" element_name="AAA" type=checkbox><a href="javascript:void(0)" >AAA</a>

ÒòΪ´úÂëÖеÄIDÖµ²»¹Ì¶¨£¬Ö»ÓÐAAAÊǹ̶¨µÄ£¬ÎÒÈçºÎ´«ÈëÒ»¸östring=BBBµÄ±äÁ¿£¬µ±BBB=AAAʱ£¬ÏÔʾAAAµÄIDÄØ£¿

ÎÒҪʵÏֵŦÄÜÊÇÕâÑùµÄ
string AAA;
string id=webBrowser1.Document?????????? »ñÈ¡·ûºÏAAAµÄID

HtmlElement Btn = webBrowser1.Document.All[id];
Btn.InvokeMember("click");// ʵÏÖµã»÷


ÒÔÉÏ£¿ÖеĴúÂë¸ÃÈçºÎʵÏÖ£¿£¿

jquery:
$(input[type=checkbox]).each(function(){
if(this.attr("desc")=="AAA")
alert(this.attr("id")
})

ÍêÕû´úÂëÈçºÎд£¿£¿¿´²»¶®


µÚÒ»ÐоÍÌáʾÎÞ·¨Òþʽת»»°¡£¿Ôõô»ØÊÂ

HtmlElementCollection hec= webbrowser.Document.Body.GetElementsByTagName("input");

ÕýÈ·µÄ£¬ÊÇÎÒд´íÁË£¬µÈÎÒµ÷ÊÔÏ¿´¿´


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

C/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý - C/C++ / C++ ÓïÑÔ

´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

ÇóÖú£ºC´úÂë¸Äд³ÉVB´úÂë - VB / »ù´¡Àà

Ë­ÄܰïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......

ʹÓôøÓû§ÃûºÍÃÜÂëµÄACCESSÁ¬½Ó·½Ê½ - .NET¼¼Êõ / C#

ʹÓÃACCESS×î´óµÄÒþ»¼¾ÍÊDz»°²È«¡£½ñÌì¶ÔACCESSÊý¾Ý¿âÉèÖÃÁËÒ»¸öÃÜÂ룬±ØÐëʹÓÃÃÜÂë²ÅÄÜ´ò¿ª£¬µ«ÊÇÔÚ³ÌÐòÖÐÈ´ÎÞ·¨Á¬½ÓÊý¾Ý¿âÁË¡£´ó¼ÒÖªµÀʹÓÃÓû§ÃûºÍÃÜÂ룬ÈçºÎÁ¬½ÓACCESSÊý¾Ý¿â£¿Ã²ËÆACCESSµÄÓû§Ãû»¹²»ÖªµÀ£¿Ö»Öª ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ