begintransx.h

来自「visual c++ 很全的ado的sample」· C头文件 代码 · 共 22 行

H
22
字号
#include "icrsint.h"

//This Class extracts only title and type 
class CTitlesRs : public CADORecordBinding
{
BEGIN_ADO_BINDING(CTitlesRs)
    //Column title is the 2nd field in the recordset  
    ADO_VARIABLE_LENGTH_ENTRY2(2, adVarChar, m_szT_title, 
         sizeof(m_szT_title), lT_titleStatus, FALSE)

    //Column type is the 3rd field in the recordset  
    ADO_VARIABLE_LENGTH_ENTRY2(3, adVarChar, m_szT_type, 
         sizeof(m_szT_type), lT_typeStatus, TRUE)
END_ADO_BINDING()

public:
   CHAR   m_szT_title[150];
   ULONG  lT_titleStatus;
   CHAR   m_szT_type[40];
   ULONG  lT_typeStatus;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?