Á¬½ÓaccessÊý¾Ý¿âɾ³ý¼Ç¼ÍøÒ³³ö´í - Web ¿ª·¢ / ASP
´úÂëÈçÏÂ
<%
DelTemp=request.form("n")
db = "ͨѶ¼.accdb"
set conn = Server.CreateObject("ADODB.Connection")
connstr = "Provider=Microsoft.Ace.OleDb.12.0;Data Source="&Server.MapPath(db)
conn.open connstr
strSQL="delete from ͨѶ¼ where ÐÕÃû like '"+DelTemp+"'"
conn.Execute strSQL
conn.Close
set conn=nothing
%>
n ÊÇÓÉÇ°Ò»ÍøÒ³
ÐÕÃûµÄÊý¾ÝÀàÐÍΪÎı¾¡£
´íÎóÓ¦¸ÃÔÚstrSQL="delete from ͨѶ¼ where ÐÕÃû like '"+DelTemp+"'" ÕâÒ»¾ä£¬É¾ÁËÕâÒ»¾ä£¬ÍøÒ³Õý³£´ò¿ª¡£ÄܸĵĶ¼ÊÔ¹ýÁË£¬ÒÀÈ»²»ÐС£
Âé·³¸÷λÁË
±¨µÄÊÇʲô´í£¿
nÔÚÇ°Ò»ÍøÒ³µÄ´úÂë<input type="text" readonly="true" name="n"value="<%=(rt2.Fields.Item("ÐÕÃû").Value)%>">
±¨´í http 500
strSQL="delete from ͨѶ¼ where ÐÕÃû like '%"+DelTemp+"%'"
3LµÄÒÀÈ»²»Ðа¡
db = "ͨѶ¼.accdb"¸ÄΪӢÎĵÄÊÔÊÔ
Êý¾Ý¿âÄÜÁ¬½ÓÉÏ£¬Ö»ÊÇdeleteÕâÀï´íÁË
±íÃûÊÇͨѶ¼£¿
Êý¾Ý¿âÃûÊÇXXXͨѶ¼£¬±íÃûÊÇ Í¨Ñ¶Â¼
ÖªµÀÁË¡£¡£ÔÀ´ÊÇȨÏÞµÄÎÊÌâ¡£¡£¡£
Ïà¹ØÎÊ´ð£º
ACCESSÊý¾Ý¿âÖÐÓÐÒ»¸ötablename±í£¬Éè¼ÆÈçÏÂ
±àºÅ,ÊéÃû,×÷Õß,³ö°æʱ¼ä,³ö°æÉç,ISBN,Ŀ¼,¼ò½é
ÆäÖгý¡°±àºÅ¡±Îª×Ô¶¯±àºÅÍ⣬ÆäËü¶¼Îª¡°±¸×¢¡±
ÆäÖÐ"±àºÅ"άһ£¬ÔÚ¡°ISBN¡±ÖÐÓеÄΪ¿ÕÖµ£¬ ......
´íÎóÌáʾ£º
Error creating bean with name 'DAOProxy' defined in class path resource [appcontext.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionMana ......
ʹÓÃACCESS×î´óµÄÒþ»¼¾ÍÊDz»°²È«¡£½ñÌì¶ÔACCESSÊý¾Ý¿âÉèÖÃÁËÒ»¸öÃÜÂ룬±ØÐëʹÓÃÃÜÂë²ÅÄÜ´ò¿ª£¬µ«ÊÇÔÚ³ÌÐòÖÐÈ´ÎÞ·¨Á¬½ÓÊý¾Ý¿âÁË¡£´ó¼ÒÖªµÀʹÓÃÓû§ÃûºÍÃÜÂ룬ÈçºÎÁ¬½ÓACCESSÊý¾Ý¿â£¿Ã²ËÆACCESSµÄÓû§Ãû»¹²»ÖªµÀ£¿Ö»Öª ......
ÎÒÏë´ÓAccess µ¼³öÊý¾Ýµ½DB2£¬ ±ÈÈç˵Access±íÖÐÓÐ3ÌõÊý¾Ý£¬ÎÒÒªµ¼ÈëDB2£¬²¢ÇÒҪɾ³ý¡£ µ«ÊDzåÈë3ÐпÉÒԳɹ¦£¬É¾³ýÖ»ÄÜɾ³ý1ÐУ¬²¢ÇÒµÚÒ»ÐÐɾ³ý3±é£¨ÒòΪÓÐ3ÌõÊý¾Ý£©¡£ ´úÂëÈçÏ£º¿ÒÇë¸÷λ¸ßÊÖÖ¸µãÒ»¶þ£¬Ð¡µÜ¸Ð¼¤²»¾ ......
±ítab_empÖÐÓиöʱ¼ä×ֶΡ°tt¡±ÊÇDateTimeÀàÐÍ£¬ÏÖ²éѯij¸öʱ¼ä¶ÎÖ®¼äµÄÊý¾Ý£º
³ÌÐòÈçÏ£º
====================================================================================================
......