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

VCÍùaccessÊý¾Ý¿â²åÈë¼Ç¼ÎÊÌâ - VC/MFC / Êý¾Ý¿â

ÎÒ¶Ô±íÉèÖÃÁË3¸öÖ÷¼ü¡£¡£¡£Ö»ÊÇΪÁËͨ¹ý²âÊÔµÄÒ»ÖÖд·¨¡£
ÎÒ¸ú×ÙÁËÖ´ÐУ¬ÔÚµã»÷°´Å¥Ö´ÐвåÈë×îºóÒ»Ìõ¼Ç¼ʱ³ÌÐò²¶»ñµ½Ò»¸öÒì³££¬È»ºóAfxMessageBox(e.Description());
¿ÉÊÇÎÒ´ò¿ªÊý¾Ý¿â²é¿´Õû¸ö±í£¬ËùÓмǼ¶¼ÔÚ°¡£¡µ÷ÊÔÁË°ëÌìҲûʲôͷÐ÷£¬ÉÏÀ´ÎÊÎÊ´ó¼Ò¡£
лл¸÷λÁË
C/C++ code:


try
{
szSQL.Format("insert into midi values('%s','%s','%s','%s','%s')",
midi_time,midi_channel,midi_no,midi_vel,m_filename);
}


ÕâÊDzåÈëµÄsqlÓï¾ä.
Ī³ÁĪ³Á¡£¡£¡£

¿´¿´Òì³£±¨µÄʲôÐÅÏ¢£¿

szSQL.Format("insert into 'midi' values('%s','%s','%s','%s','%s')",
  midi_time,midi_channel,midi_no,midi_vel,m_filename);


ÒýÓÃ
szSQL.Format("insert into 'midi' values('%s','%s','%s','%s','%s')",
midi_time,midi_channel,midi_no,midi_vel,m_filename);

Ç°±²£¬Õâ¸öÊDZíÃ÷¡£¡£Ò²Òª¼ÓÒýºÅÂð£¿

ÒýÓÃ
¿´¿´Òì³£±¨µÄʲôÐÅÏ¢£¿

Ö÷¼üÖظ´

¶¼ÖªµÀÊÇÖ÷¼üÖظ´ÁË»¹²»ÖªµÀÔõô½â¾ö£¿


¿ÉÊÇÖ÷¼üûÓÐÖظ´°¡£¡ÎÒΪÁ˲»Öظ´¶¨ÒåÁ˶à¸öÖ÷¼ü
szSQL.Format("insert into 'midi' values('%s','%s','%s','%s','%s')",
midi_time,midi_channel,midi_no,midi_vel,m_filename);
Õâ¸ö¼ÓÁË¡®¡¯¾Íʧ°ÜÁË¡£¡£

ÊDz»ÊÇÉèÁË×ÔÔ


Ïà¹ØÎÊ´ð£º

Access²éÕÒÖظ´ÎÊÌâ - ÆäËûÊý¾Ý¿â¿ª·¢ / Access

ÎÒÓÃAccessÊý¾Ý¿â×öÁËÒ»¸öͼÊéÊý¾Ý¿â£¬ÀïÃæÓÐÒ»¸ö×Ö¶ÎÊÇISBN£¬¾ÍÊÇISBNºÅ£¬µ«ÊÇÖ»µÄÒ»×Ü·ÖͼÊéдµÄISBNºÅ£¬ÓеÄûд£¬Ð´µÄÄÇÒ»²¿·ÖÓеÄISBNÊÇÖظ´µÄ£¬ÄÜ·ñÓÃSQLÓïÑÔ°ÑÖظ´µÄ¹ýÂ˵ô£¬µ«Ã»Ð´ISBNºÅµÄͼÊé²»ÄܹýÂ˵ô£¬È ......

¹ØÓÚACCESSºÍMSSQLµÄÎÊÌâ - Web ¿ª·¢ / ASP

ÓÐÒ»¸öÊý¾Ý¿âÀïÖ»ÓÐ2WÌõÊý¾Ý²»µ½£¬È´ÓÐ500MÄÇô´ó,Ôõô»ØÊ°¡£¿ÊÇACCESSµÄÊý¾Ý¿â¡£ºóÀ´ÎÒ°ÑACCESSµ¼Èëµ½MSSQLÖУ¬Ò²Õ¼ÓÃÁË500M×óÓҵĿռ䣬Èç¹ûѹËõÊý¾Ý¿âÄØ£¿Çë¸ßÊÖÖ¸µã
ѹËõÊý¾Ý¿â£¿ÄÜ×öµ½Ã´...
ÆÚ´ý¸ßÈËÖ¸µã ÎÒ ......

VCÖÐ odbc·ÃÎÊaccessÄÚ´æÔö³¤

vcÖÐÓÃodbcµÄ·½·¨·ÃÎÊaccessÊý¾Ý¿â£¬Óõ½ÁËcdatabaseÀàºÍcrecordsetÀà¡£Êý¾ÝÔ´ÔÚ´°¿Ú³õʼ»¯µÄʱºò±»´ò¿ªg_datasource.Open("data",FALSE,FALSE); µã»÷Ò»¸ö°´Å¥Æô¶¯Ò»¸ö¶¨Ê±Æ÷£¬ÔÚ¶¨Ê±Æ÷ÄÚÍê³ÉÒÔϲÙ×÷£¬¶¨ ......

linux²»ÄÜ·ÃÎÊaccess - Java / Java EE

rt£¬ÎÒÊÔÁËÍøÉÏÖ±Á¬AccesÊý¾Ý¿âµÄ·½·¨,windowsÏÂûÓÐÎÊÌâ,µ«ÊÇÔÚlinuxϲ»ÐУ¬Ë­ÄܸøµãÌáʾ£¿Ð»Ð»
ÄãÔõôÁ¬µÄ£¿

AccesÊý¾Ý¿â..
ÄãÔõôÁ·µÄÄØ£¿

Java code:

static String DBDRIVER = "sun.jd ......

ÈçºÎ¸ñʽ»¯AccessÊý¾Ý¿â - ÆäËûÊý¾Ý¿â¿ª·¢ / Access

ÈçºÎÓÃSQL½«Access±íÖеÄÊý¾ÝÈ¥²»Çå¿Õ£¿
ÈçºÎÓÃsql½«ACCESS²¿·ÖÊý¾Ý±íÖеĵÄÊý¾ÝÇå¿Õ£¿
ÈçºÎÓÃSQL½«Access±íÖеÄÊý¾ÝÈ¥²»Çå¿Õ£¿
¾ÙÀý˵Ã÷
ÈçºÎÓÃsql½«ACCESS²¿·ÖÊý¾Ý±íÖеĵÄÊý¾ÝÇå¿Õ£¿
delete from tt

ÓÃSQ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ