各位大虾帮忙啊!急啊
谢谢先!

解决方案 »

  1.   


    这要分那种类型的数据库如sql
    select name from database.dbo.sysobjects where xtype='u'
      

  2.   

    好像CRecordset::GetODBCFieldInfo这个函数行吧
      

  3.   

    ========好像CRecordset::GetODBCFieldInfo这个函数行吧====
    这是办不到的哈,兄弟
    MSDN解释:
    Call this member function to obtain information about the fields in the recordset. One version of the function lets you look up a field by name. The other version lets you look up a field by index.