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

vbÁ¬½ÓSQLÎÊÌâ - VB / »ù´¡Àà

ÕâÑùÁ¬½ÓÊý¾Ý¿âÊǶԵÄ
VB code:

Dim conn As New ADODB.Connection
conn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=116.28.49.177;USER ID=sa;PASSWORD=123456;DATABASE=data;"





ÕâÑù¾Í´íÁË£¬ÎªÊ²Ã´??????????????



VB code:




Dim conn As New ADODB.Connection
dim ip
ip="116.28.49.177"
conn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=ip;USER ID=sa;PASSWORD=123456;DATABASE=data;"






conn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=" & ip & ";USER ID=sa;PASSWORD=123456;DATABASE=data;"

»ØÉÏÂ¥£¬Á¬²»ÉÏ

µ¯³ö´íÎó

¡°Á¬½ÓµÄ×Ö·û´®ÊôÐÔÎÞЧ¡±

conn.Open "Provider=sqloledb;Data Source=116.28.49.177;Initial Catalog=data;User Id=sa;Password=123456;"


»ØÉÏÂ¥£¬ÎÒÒª¸ÄÕâ¸ö
Dim conn As New ADODB.Connection
dim ip
ip="116.28.49.177"
conn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=ip;USER ID=sa;PASSWORD=123456;DATABASE=data;" 



ÒýÓÃ
conn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=" & ip & ";USER ID=sa;PASSWORD=123456;DATABASE=data;"

º¹,ÒѾ­»Ø¹ýÁË,²»ÖªlzÊÇ·ñ


Ïà¹ØÎÊ´ð£º

vb - VB / ·Ç¼¼ÊõÀà

Ôõô°ÑÒÑÖªµÄÊý¾Ý±£´æ³ÉxmlÎļþ£¬ÏÖÔÚÒÑÖªµÄÊý¾ÝÊÇ
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o=& ......

vb ÖÐ - VB / »ù´¡Àà

dim a as string,b as string£¬c as string
a="¹¤³Ì±àºÅ,µ¥Î»¹¤³ÌÃû³Æ,·Ö²¿¹¤³Ì±àºÅ"
b="µ¥Î»¹¤³ÌÃû³Æ"
c="µ¥Î»"
Ôõô²ÅÄÜÅжϳöa×Ö·û´®ÖдæÔÚb×Ö·û´®£¬¶ø²»´æÔÚc×Ö·û´®

¿´¿´i ......

VB µ÷ÓÃInet¿Ø¼þÏÂÔسö´í - VB / ÍøÂç±à³Ì

¸÷λ¸ßÊÖ£¬Ð¡µÜ×î½üÅöµ½Ò»¸öÎÊÌ⣺ԭÏÈдµÄ³ÌÐò´ó¸ÅµÄ˼·ÊÇ£ºÊ×ÏÈwebbrowser´ò¿ªÍøÖ·£¬ÍøÖ·ÏÔʾºó£¬µã»÷ÍøÖ·ÉϵÄijһ¸öÁ¬½Ó£¬µ±webbrowser¼ì²âµ½ÍøÖ·ÒѾ­Á¬½Óµ½ÏëÒªµÄµØַʱºò¾Í¿ªÊ¼ÏÂÔØÎļþ£¬µ±ÓÃIE6µÄʱºòÏÂÔ ......

¹ØÓÚSQLÓï¾äORµÄÎÊÌâ - Oracle / ¸ß¼¶¼¼Êõ

ͨ¹ýNAME×Ö¶ÎÌõ¼þ²éѯһ¸öÊý¾Ý±í£¬¼ÙÉèÎÒÓÐ100¸öÐÕÃû£¬ÓÐÒÔÏÂÁ½¸ö·½·¨£¬
·½·¨1£º
°Ñ100¸öName ×é³ÉÒ»¸öSQLÓï¾ä£¬±ÈÈç Select * from tmp_table where Name='ÕÅÈý' or Name ='ÀîËÄ' Or ...Or Name='µÚÒ»°Ù¸öÐÕÃû'
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ