请教一个MFC database 的问题# Database - 数据库
s*e
1 楼
VC++,MFC,database 问题
1. Describe CObList, provide a sample that defines a class named MyClass
derived from CObject , then builds a CObList with a few of MyClass objects
in the process heap, then removes your CObjects from the list.
2. Describe try/catch logic and add try/catch logic to the sample in your
sample 1) above
3. Suppose you have an ODBC Data source named MyDB, provide a sample that
opens a CDatabase object using MyDB data source. Build a CString object
containing SQL to insert a rec
1. Describe CObList, provide a sample that defines a class named MyClass
derived from CObject , then builds a CObList with a few of MyClass objects
in the process heap, then removes your CObjects from the list.
2. Describe try/catch logic and add try/catch logic to the sample in your
sample 1) above
3. Suppose you have an ODBC Data source named MyDB, provide a sample that
opens a CDatabase object using MyDB data source. Build a CString object
containing SQL to insert a rec