
请教,关于BCGGridCtrl使用的问题
1个回答
展开全部
public:
void OnDestory();
CBCGPGridRow* CreateVirtualRow (int nRow);
BOOL CanSortByColumn (int nColumn);
void OnItemUpdateFailed (_com_error& err);
void OnItemUpdateFailed();
void OnADOException (_com_error& err);
void OnItemChanged (CBCGPGridItem* pItem, int nRow, int nColumn);
BOOL OnAddData (CBCGPGridRow* pRow, int nColumn, int nRow);
BOOL OpenSQL (LPCTSTR lpszSQL);
BOOL OpenTable (LPCTSTR lpszTable);
BOOL GetFieldList (CStringList& lstField);
BOOL GetFieldList (LPCTSTR lpszTable, CStringList& lstField);
BOOL GetTableList (CStringList& lstTable);
BOOL Close ();
BOOL OpenMSAccessFile (LPCTSTR lpszFileName,LPCTSTR lpszUserName = _T(""),LPCTSTR lpszPassword = _T(""),LPARAM lOptions = 0);
HRESULT GetLastError () const;
BOOL OpenDB ( LPCTSTR lpszConnectionStr,LPCTSTR lpszUserName = _T(""),LPCTSTR lpszPassword = _T(""),LPARAM lOptions = 0);
CADOBCGGridCtrlEx();
virtual ~CADOBCGGridCtrlEx();
protected:
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordSet;
HRESULT m_hresLastError;
void OnDestory();
CBCGPGridRow* CreateVirtualRow (int nRow);
BOOL CanSortByColumn (int nColumn);
void OnItemUpdateFailed (_com_error& err);
void OnItemUpdateFailed();
void OnADOException (_com_error& err);
void OnItemChanged (CBCGPGridItem* pItem, int nRow, int nColumn);
BOOL OnAddData (CBCGPGridRow* pRow, int nColumn, int nRow);
BOOL OpenSQL (LPCTSTR lpszSQL);
BOOL OpenTable (LPCTSTR lpszTable);
BOOL GetFieldList (CStringList& lstField);
BOOL GetFieldList (LPCTSTR lpszTable, CStringList& lstField);
BOOL GetTableList (CStringList& lstTable);
BOOL Close ();
BOOL OpenMSAccessFile (LPCTSTR lpszFileName,LPCTSTR lpszUserName = _T(""),LPCTSTR lpszPassword = _T(""),LPARAM lOptions = 0);
HRESULT GetLastError () const;
BOOL OpenDB ( LPCTSTR lpszConnectionStr,LPCTSTR lpszUserName = _T(""),LPCTSTR lpszPassword = _T(""),LPARAM lOptions = 0);
CADOBCGGridCtrlEx();
virtual ~CADOBCGGridCtrlEx();
protected:
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordSet;
HRESULT m_hresLastError;
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询