adoÁ¬½Ó£¬ACCESS²éѯ
sqlÃüÁîÈçÏ£¬ÎÒÉèÖÃµÄ EN×ֶβ»ÔÊÐíÖØ¸´£¬ÔÚ¸üÐÂÊý¾Ý¿âµÄʱºò£¬Ê¹ÓÃ
pRecordset->Open(_variant_t(SqlCmd),_variant_t((IDispatch *)Info.pConnection,true),adOpenStatic,adLockOptimistic,adCmdText);
ÈçÊý¾Ý¿âÖÐûÓиüǼÔòÌí¼Ó£¬Óеϰ¾Í¸üиüǼµÄÆäËû×ֶΣ¬
Ö´ÐÐÁ½´ÎÈçÏÂÃüÁîµÄÌí¼Ó»ò¸üвÙ×÷£¬µÚÒ»´ÎÊý¾Ý¿âÖÐÎ޸üǼ£¬Õý³£Ìí¼Ó£¬µÚ¶þ´Î³ÌÐòÖ´ÐÐʱÈԾɲéѯ²»µ½¸Ã¼Ç¼£¬ÔÙ´ÎÌí¼ÓµÄʱºòÈ´ÒòΪÊý¾Ý¿âÉèÖõĽûÖ¹EN×Ö¶ÎÖØ¸´±¨´í IDispatch error #3105
Èç¹û°Ñ¸ÃEN×ֶ㤶ÈѹËõÖÁ255»òÒÔÏÂÖ´ÐÐÕý³££¬Ö»Òª³¬¹ý255ÈԾɱ¨´í
EN×Ö¶ÎÉèÖÃΪ ±¸×¢¸ñʽ£¬Ë÷Òý£¬½ûÖ¹ÖØ¸´
Çó¸ßÊÖÖ¸µ¼
select * from sentencetable where EN = '1.fuel rail pressure inspection\n2.Rail pressure monitoring Control variation < 1500/min (rpm)\n3.Rail pressure monitoring Control variation < 1500/min (rpm)\n4.Rail pressure monitoring Control variation > 1500/min (rpm)\n5.Rail pressure monitoring Control variation > 1500/min (rpm)\n6.Rail pressure monitoring Leakage\n7.Rail pressure monitoring Leakage\n8.Rail pressure monitoring The maximum pressure has been exceeded.\n9.Rail pressure monitoring The maximum pressure has been exceeded.\n10.Rail pressure monitoring The pressure control valve jams in the closed position.\n11.Rail pressure monitoring The pressure control valve jams in the closed position.\n12.Rail pressure monitoring The rail pressure cannot be built up.\n13.Rail pressure monitoring The rail pressure cannot be built up.\n14.Rail pressure monitoring The rail pressure is to
Ïà¹ØÎÊ´ð£º
×î½üѧϰasp£¬µ±Á·Ï°µ½Á¬½ÓÊý¾Ý¿âµÄʱºò£¬ÆµÆµ³ö´í£¬¿É¾ÍÊDz»ÖªµÀ´íÔÚÔõôµØ·½£¬Çë¸ßÊÖ°ïæ¿´¿´£¡£¡Ð»Ð»£¡
°üº¬Îļþxx.asp¡¢xxsave.asp¡¢conn.aspÒÔ¼°student1.mdbºÍ±íxxgl¡¡
xx.aspΪ£º
<html>
<hea ......
accessÖеÄtextÐ͵ÄÊý×Ö£¬Ôõô±È½Ï´óС°¡£¿
´ó¼ÒÖªµÀÂð?
ÒòΪÎÒÏë¸ù¾ÝÕâÒ»ÁÐÊý¾ÝµÄ´óС²éѯһЩ¶«Î÷
¾Ù¸öÀý×Ó£º
¾ÍÊÇ£¬ÎÒÓÐÒ»ÁÐÊý¾ÝΪ±àÂ룺
ÊÇtextÐ͵ÄÊý×Ö£ºÈç
1101
1102
1103
µÈ£¬
ÎÒÏÖÔÚҪȡ³ö±àÂë±È ......
¸÷λ¸ßÊֺã¬Âé·³°ïÎÒ¿´ÏÂÕâ¸öÊý¾Ý¿âÁ¬½ÓÎÊÌ⣺
×öÁËÒ»¸öBBSµ«ÊÇÊý¾Ý¿â¾ÍÊÇÁ¬½Ó²»ÉÏ¡£´íÎó´úÂëÈçÏÂ
HTTP Status 500 -
------------------------------------------------------------------------------- ......
ÎÒ×öÁËÒ»¸öС³ÌÐò£¬ÏëʵÏֵŦÄܾÍÊÇÔÚÎı¾¿òÖÐÊäÈëÐÕÃû£¬µã»÷²éѯ°´Å¥£¬¾ÍÄܲ鵽ACCESSÊý¾Ý¿âÖдËѧÉúµÄÐÅÏ¢£¨±àºÅ£¬ÐÕÃû£¬ÐÔ±ð£¬ÄêÁ䣩¿ÉÎÒ²»ÖªµÀÓï·¨¸ñʽ£¬ÎÒ×Ô¼ºÐ´µÄÓï¾äµ÷ÊÔÄÜͨ¹ý£¬¿ÉÊÇÔËÐÐʱ³ö´í£¨µã»÷²éѯ°´ ......
±í½á¹¹:
table1
Ö¤¼þºÅ ʱ¼ä
X31 2010-01-11
3BC 2010-02-03
3AD 2010-02-03
F23 2010-02-09
......
ÏÖÔÚҪͳ¼ÆÒ»¸öʱ¼ä¶ÎÈç 2010-01-09 µ½ 2010-02-09¼äµÄÊý¾Ý,
ÆÚ´ý½ ......