maxrecordsx.h
来自「visual c++ 很全的ado的sample」· C头文件 代码 · 共 25 行
H
25 行
// MaxRecordsX.h
#include "icrsint.h"
// This class extracts titles and type from the titles table
class CTitleRs : public CADORecordBinding
{
BEGIN_ADO_BINDING(CTitleRs)
// Column title is the 1st field in the Recordset
ADO_VARIABLE_LENGTH_ENTRY2(1,adVarChar,m_szau_Title,
sizeof(m_szau_Title),lau_TitleStatus,FALSE)
// Column price is the 2nd field in the Recordset
ADO_VARIABLE_LENGTH_ENTRY2(2,adDouble,m_szau_Price,
sizeof(m_szau_Price),lau_PriceStatus,FALSE)
END_ADO_BINDING()
public:
CHAR m_szau_Title[81];
ULONG lau_TitleStatus;
DOUBLE m_szau_Price;
ULONG lau_PriceStatus;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?