select 1£¬accessÀïÔõôд
select 1 ÔÚSQLServerÀï½á¹ûÊÇ1£¬ÀàËƵÄaccessÀïÔõôд£¿
select 0 as status, 'Í£ÓÃ' as name
union all
select 1 as status, 'Ò»°ãÓû§' as name
union all
select 2 as status, '¹ÜÀíÔ±' as name
Õâ¸öÔõôдÄØ£¿
±¨´í£º'²éѯÊäÈë±ØÐë°üº¬ÖÁÉÙÒ»¸ö±í»ò²éѯ¡£'
ÎÒ¾ÍÊÇÎÊÁËÁ½¸öÎÊÌ⡣лл
Ïà¹ØÎÊ´ð£º
_RecordsetPtr CMyAdo::SelectRecord(string &where, string &tablename,string &field, int way )
{
int ret = 0;
_RecordsetPtr pset;
CString sql;
& ......
×î½ü×¼±¸Îª¹«Ë¾ÍøÕ¾ÓÃVB×ö¸ö²úƷչʾÉú³É£¬Éú³É²¿·Ö»ù±¾Ã»ÎÊÌ⣬
ÎÊÌâ³öÏÖÔÚ²éѯ²¿·Ö£¬Ê¹ÓÃÁËMSHFelxGrid(DATAGrid²»ÄÜÂú×ã²Ù×÷ÐèÇó)£¬±¾À´ÒÔΪÊÕ¹¤ÁË£¬×òÌìÔٴβâÊÔµÄʱºò·¢ÏÖÁËÒÔÏÂÎÊÌâ
µ±Êý¾Ý¿â×Ö¶ÎÎ ......
×î½ü×¼±¸Îª¹«Ë¾ÍøÕ¾ÓÃVB×ö¸ö²úƷչʾÉú³É£¬Éú³É²¿·Ö»ù±¾Ã»ÎÊÌ⣬
ÎÊÌâ³öÏÖÔÚ²éѯ²¿·Ö£¬Ê¹ÓÃÁËMSHFelxGrid(DATAGrid²»ÄÜÂú×ã²Ù×÷ÐèÇó)£¬±¾À´ÒÔΪÊÕ¹¤ÁË£¬×òÌìÔٴβâÊÔµÄʱºò·¢ÏÖÁËÒÔÏÂÎÊÌâ
µ±Êý¾Ý¿â×Ö¶ÎΪ¡ ......
Public Rs As New ADODB.Recordset
Public Conn As New ADODB.Connection
Private Sub Command1_Click()
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & A ......
ÏÖÔÚÒªÓÃasp.net 2.0+Access 2003Êý¾Ý¿âÍê³É·ÖÒ³¹¦ÄÜ¡£ÌûÖ÷ÒªµÄ´úÂë¡£URL²âÊÔ²ÎÊý /category.aspx?size=3&page=4&category=CareerµÄʱºò£¬ÎÒÏ£Íû²é³öÀ´µÄÊǵÚ4Ò³µÄÊý¾Ý£¬µ«ÎÞÂÛÔõô¸ü¸ÄpageµÄ²ÎÊý£¬Êý¾ÝµÄÏÔ ......