vb Ò»¸öСÎÊÌâ - VB / »ù´¡Àà
ÎÒÓÃvb±à³Ì£¬ÆäÖÐÒ»¸öcombox¿Ø¼þµÄdataformat ÉèΪÈÕÆÚ£¬Èç2010-7-1£¬Êý¾Ý¿âÖÐÓиö×Ö¶ÎΪÈÕÆÚÐÍ£¬Ò²Èç2010-7-1£¬ÎÒÏëʵÏÖÔÚcomboxÑ¡ÖÐÒ»¸öÈÕÆÚÖ®ºó£¬Ö´ÐÐÓï¾ä£º
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä='Combo1.Text'"
Adodc1.Refresh
Ìáʾ´íÎ󣺱ê×¼±í´ïʽÖÐÊý¾ÝÀàÐͲ»Æ¥Åä
ÎÒÏëÊÇcombox ºÍaccessÊý¾Ý¿âÖеÄ×ֶεÄÈÕÆÚÀàÐÍÓÐÎÊÌ⣬²»ÖªµÀ¾ßÌåʲôÎÊÌ⣬ÈçºÎ½â¾ö£¬Çëд³ö½â¾ö´úÂ롣лл£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä='" & Combo1.Text & "'"
Êý¾Ý¿âΪSQL£º
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä='"& Combo1.Text &"'"
Êý¾Ý¿âΪACCESS£º
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä=#"& Combo1.Text &"#"
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä=#" & Combo1.Text & "#"
Adodc1.Refresh
SqlÓï¾äÓÐÎó£¬×Ö·û´®Á¬½Ó´íÎó
VB code:
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä[color=#FF0000]='Combo1.Text'"[/color][b][/b]Adodc1.Refresh
¸ÄΪ
VB code:
Adodc1.RecordSource = "select * from ÏúÁ¿Ä¿±ê where ʱ¼ä=#" & Combo1.Text
Ïà¹ØÎÊ´ð£º
ÔÚvbÖÐÈçºÎ¶ÁÈ¡WordÄÚÈÝ(°üº¬±í¸ñ£¬Í¼Æ¬£¬µÈ£©
¾¹È»²»ÊÇzero¡£
²»ÖªµÀÔõôʵÏֵIJ»ÒªËµ»°
Õâ¸öÖ»ÄܶÁÎı¾,
VB code:
Private Sub Command1_Click()
Dim WordApp As Object
Set WordApp = CreateObject(& ......
vbÖÐ ÏÖÔÚÎÒÒª°ÑÊý¾Ý¿âÀï´æ´¢µÄÒ»¸ö¸½¼þµÄÄÚÈÝÌæ»»ÁË£¬Ôõô×ö£¬Ö»ÊÇÌæ»»ÎÒÖ¸¶¨µÄλÖ㬲»ÊÇÈ«²¿Ìæ»»
Ç뽫ÎÊÌâ˵Ã÷°×£¬´æ´¢×ֶθñʽ£¬Èç¹ûÊÇBinary¸ñʽµÄ±È½ÏÂé·³£¬Èç¹ûÊÇ×Ö´®£¬Ö±½ÓÌæ»»¡£×îºÃ²»Òª½øÐÐÖ¸¶¨Î»ÖÃÌæ»»¡ ......
ÓÃVB±à³Ì¶ÁÈ¡¶ÌÐÅ,µÃµ½Ò»´ó¶Ñunicode±àÂë,Çë½ÌÈçºÎת»»³ÉÎı¾
ÀýÈç:¶ÁÈ¡¶ÌÐźó(»ªÎª900C»òTC35i),´®¿ÚµÃµ½ÈçÏÂÊý¾Ý:
+CMGL: 17,"REC UNREAD","8615007557713",,"10/03/30,09:37:15+32&qu ......
ÓÐÁ½¸öÎÊÌâ
µÚÒ»¸öÎÊÌ⣺
ÍøÒ³Ô´Âë
<td><select name="question" onchange="showcustomquest(this.value)" tabindex="4"><option value="0">ÎÞ°²È«ÎÊ ......