ACCESSÊý¾Ý¿â²ð·ÖµÄÎÊÌâ
ÎÒ×öÁËÒ»¸öѧÉú»ñ½±ÐÅÏ¢µÄ±í£¬ÀïÃæ×Ö¶ÎÓкܶ࣬È磺ѧºÅ£¬ÐÕÃû£¬°à¼¶£¬ÁªÏµ·½Ê½£¬Ä꼶£¬ÐÔ±ð£¬100Ã×£¬200Ã×£¬CET4£¬¼ÆËã»úµÈ¼¶,±¨¹ØÔ±£¬±¨¼ìÔ±£¬µÈµÈºÜ¶à£¬Ôõô²ð·Ö³É¼¸¸ö±í£¬ÈçºÎ×éÖ¯±í¼ä¹Øϵ?
´ÓÄãµÄ˵Ã÷ÉÏ¿´²»³öÄãµÄ¾ßÌåÊý¾Ý×éÖ¯½á¹¹¡£ ²Â²âÊÇÒ»¸ö³É¼¨¹ÜÀí
Ò»°ãÈçϽ¨±í¡£
ѧÉú±í (ѧºÅ£¬ÐÕÃû£¬°à¼¶£¬ÁªÏµ·½Ê½£¬Ä꼶£¬ÐÔ±ð)
³É¼¨±í (ѧºÅ,ÖÖÀ࣬·ÖÊý)
òËÆÕâÑù½¨±íÖ®ºó²éѯµÄʱºò²»ÄÜÒ»Ìõ¼Ç¼ÏÔʾͬһ¸öÈË»ñ¶àÖÖ½±Ï
Èç20099999 ÕÅÈý 100Ã×µÚÒ»Ãû Ëļ¶Í¨¹ý ¼ÆËã»ú3¼¶ÍøÂç¼¼Êõ
ÈçºÎʵÏÖÕâÑù£¿
½±Ïî±í£º
ѧºÅ¡¡¡¡¡¡¡¡½±Ïî
20099999¡¡¡¡100Ã×µÚÒ»Ãû
20099999¡¡¡¡Ëļ¶Í¨¹ý
¡£¡£¡£¡£¡£¡£¡¢
Ò»Ìõ¼Ç¼£ºÓôúÂë½â¾ö
лл£¬ÄÇÎÒÏÈÕâÑù½¨±í£¬ÄÇ´úÂëÈçºÎ½â¾öÄܸæËßÎÒÂð£¿Ö÷ÒªÊÇÎÒÊÇÓÃVBµÄDATAGRIDÏÔʾµÄ
˼·£º
Á¬½Óºó£¬´ò¿ª¼Ç¼¼¯££¾Ñ»·££¾×Ö·û´®ÀÛ¼ÓÉú³ÉеÄ×Ö·û£¬¿ÉÒÔÌæ»»×ֶΣ¬´æÈë±íÖС£
²Î¿¼Ò»ÏÂÕâ¸ö dconcat µÄʵÏֵĴúÂë¡£
2. DCONCAT Óò×Ö·û´®ºÏ²¢º¯Êý
http://blog.csdn.net/ACMAIN_CHM/archive/2009/02/20/3915853.aspx
- -Äܸø¸öÀýÂð£¿ÎÒ²»»áдÕâ¸ö´úÂë
Àý×Ó #6Â¥ ÒѾ¸øÄãÁË°¡£¿£¡
ÎÒÔÚ×öµÄÊÇÒ»¸öÐÅÏ¢²éѯ¹¤¾ß£¬±ÈÈçÎÒÑ¡ÔñÁ˲éѯ07¼¶ 1°à ÄÐÉú 1
Ïà¹ØÎÊ´ð£º
SQL code:
select count(1) from HouseList a left join MemberList b on
(a.OperationName=b.UName and a.Eid=1 and a.houselc='2')
ÒÔÉÏÕâÌõÓï¾äÔÚsql2005ÖвéѯµÃµ½760Ìõ¼Ç¼,·ÅÔÚaccessÖвéѯֻÓÐ14Ì ......
_RecordsetPtr CMyAdo::SelectRecord(string &where, string &tablename,string &field, int way )
{
int ret = 0;
_RecordsetPtr pset;
CString sql;
& ......
Dim datatable As New DataTable ½¨Á¢µÄÒ»¸öÄÚ´æ±í¡£
ÈçºÎ°Ñdatatable ±íÖеÄÊý¾Ý£¬±£´æµ½ACCESSÊý¾Ý¿â¡£×îºÃÓÐÀý×ÓºÍÔ´Âë
ÓÃoledbµÄÊý¾Ý¿âÁ¬½Ó¶ÔÏóºÍÊý¾ÝÊÊÅäÆ÷µÈ¶ÔÏó£¬Àý
string&nbs ......
ÎÒµÄÏîÄ¿µÄ¼¸¸öÖØÒªµÄ±í·ÅÔÚÕâ¸öAccessÀï¡£Õ⼸¸ö±íÖ»¶ÁµÄ²»ÐèÒªÐ޸ġ£ÇëÎÊÓÐʲô·½·¨½ûÖ¹·¢ÉúÐÞ¸ÄÄØ£¿ÎÒÒª±£Ö¤Êý¾ÝµÄÍêÕûÐÔ¡£
2003 ÖпÉÒÔ½øÐÐÓû§×éµÄȨÏÞµÄÉèÖá£
ÎÒÖ»ÏëÒª2007µÄ¡£ÒòΪÃÜÂ뻹ûÓÐÈËÄÜÆƽâ³ö ......
sql="insert into users(username,password) values('aa','bbb')"
conn.execute sql
²¹³ä£ºÔõô¼Ó²»½øÈ¥ÄØ£¿
ÒòΪaa,bbbÊÇÄã×Ô¼º¶¨ÒåµÄ±äÁ¿£¬Ëùд³ÉÕâ ......