⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 columnvalues.h

📁 Vc.Net入门与提高源码
💻 H
字号:
// File: ColumnValues.h
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.

#pragma once
#include "stdafx.h"
#include "Trace.h"

// ColumnValues is a light wrapper around CAtlArray.  It is used to store and access
// column values from the results of a stored procedure.
class ColumnValues : protected CAtlArray<CStringA>
{
public:
	ColumnValues();
	ColumnValues(const ColumnValues& c);

	~ColumnValues();
	
	const CStringA& GetColumnValue(int index) const;	
	void AddColumnValue(CStringA& value);
	int GetNumColumns() const;
	void Reset();
	
	ColumnValues& operator=(const ColumnValues& c);	
};

⌨️ 快捷键说明

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