Access²éÕÒÖظ´ÎÊÌâ
ACCESSÊý¾Ý¿âÖÐÓÐÒ»¸ötablename±í£¬Éè¼ÆÈçÏÂ
±àºÅ,ÊéÃû,×÷Õß,³ö°æʱ¼ä,³ö°æÉç,ISBN,Ŀ¼,¼ò½é
ÆäÖгý¡°±àºÅ¡±Îª×Ô¶¯±àºÅÍ⣬ÆäËü¶¼Îª¡°±¸×¢¡±
ÆäÖÐ"±àºÅ"άһ£¬ÔÚ¡°ISBN¡±ÖÐÓеÄΪ¿ÕÖµ£¬ÓеÄΪISBNºÅ£¬µ«ISBNºÅÓÐÖظ´£¬ÔõÑù±àдSQLÓïÑÔ£¬Ê¹ISBNÖÐΪ¿ÕÖµµÄÏî±£Áô£¬ÓÐÖµµÄÏîÖ»ÏÔʾһ´Î£¨Ò²¾ÍÊǹýÂ˵ôÖظ´µÄÏµ«×¢Òâµ±ISBNΪ¿ÕÊDZ£Áô£©
ÉÏ´«Äã²âÊÔÓõÄMDBÊý¾Ý¿âÎļþ
¿ÉÒÔÉÏ´«µ½ http://www.access911.net/csdn
ΪʲôȫΪ±¸×¢
ÒòΪ¶«Î÷±È½Ï¶à£¬ÓñðµÄÊôÐԷŲ»Ï£¬¡°±¸×¢¡±ÊôÐÔÔÊÐí·ÅµÄ×ֱȽ϶à
Ïà¹ØÎÊ´ð£º
IsSqlDataBase = 0 'Ö÷Êý¾Ý¿âÀàÐÍ(1=SQL£¬0=AC)
'===========================================================================
SqlDatabaseName = "ads365" 'Ö÷Êý¾Ý¿âÃû
S ......
´úÂëÈçÏ£º
OleDbConnection conn = new OleDbConnection();
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("~/Ap ......
ÎÒµÄÏîÄ¿µÄ¼¸¸öÖØÒªµÄ±í·ÅÔÚÕâ¸öAccessÀï¡£Õ⼸¸ö±íÖ»¶ÁµÄ²»ÐèÒªÐ޸ġ£ÇëÎÊÓÐʲô·½·¨½ûÖ¹·¢ÉúÐÞ¸ÄÄØ£¿ÎÒÒª±£Ö¤Êý¾ÝµÄÍêÕûÐÔ¡£
2003 ÖпÉÒÔ½øÐÐÓû§×éµÄȨÏÞµÄÉèÖá£
ÎÒÖ»ÏëÒª2007µÄ¡£ÒòΪÃÜÂ뻹ûÓÐÈËÄÜÆƽâ³ö ......
ÎÒÓÃAccessµÄʱºò£¬IDÊÇÖ÷¼ü×Ô¶¯Éú³É¡£
ÄDzåÈëÒ»Ìõ¼Ç¼µÄʱºò£¬ÔÚÖ´ÐÐÁ˲åÈëÓï¾äÖ®ºó»¹ÓÐÒ»¸ö´úÂëstring sqlGetId = "select max(Nid) from News" ;
ÊÇÏë»ñÈ¡¸Õ²Å²åÈëµÄ¼Ç¼ËùÉú³ÉµÄID£¬¿ÉÊÇÿ´Î»ñÈ ......
ÎÒ×öÁËÒ»¸öѧÉú»ñ½±ÐÅÏ¢µÄ±í£¬ÀïÃæ×Ö¶ÎÓкܶ࣬È磺ѧºÅ£¬ÐÕÃû£¬°à¼¶£¬ÁªÏµ·½Ê½£¬Ä꼶£¬ÐÔ±ð£¬100Ã×£¬200Ã×£¬CET4£¬¼ÆËã»úµÈ¼¶,±¨¹ØÔ±£¬±¨¼ìÔ±£¬µÈµÈºÜ¶à£¬Ôõô²ð·Ö³É¼¸¸ö±í£¬ÈçºÎ×éÖ¯±í¼ä¹Øϵ?
´ÓÄãµÄ˵Ã÷ÉÏ¿´²»³ö ......