Description: Using ODBC to access the database, an ODBC database directly encapsulated in the MFC inside, two busy Kaoyan no time to learn dao.
ODBC and DAO can be at the biggest difference is that must be built before using ODBC data source, depending on the database, the parameters used are also different. Details, please read an article before this. There are many things not said, things are high skill, have to learn your own.
File list (Check if you may need any files):
homework\AddDlg.cpp
........\AddDlg.h
........\db1.mdb
........\Debug\AddDlg.obj
........\.....\EditDlg.obj
........\.....\homework.exe
........\.....\homework.ilk
........\.....\homework.obj
........\.....\homework.pch
........\.....\homework.pdb
........\.....\homework.res
........\.....\homeworkDoc.obj
........\.....\homeworkSet.obj
........\.....\homeworkView.obj
........\.....\InitialDlg.obj
........\.....\MainFrm.obj
........\.....\StdAfx.obj
........\.....\SumDlg.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\EditDlg.cpp
........\EditDlg.h
........\homework.aps
........\homework.clw
........\homework.cpp
........\homework.dsp
........\homework.dsw
........\homework.h
........\homework.ncb
........\homework.opt
........\homework.plg
........\homework.rc
........\homeworkDoc.cpp
........\homeworkDoc.h
........\homeworkSet.cpp
........\homeworkSet.h
........\homeworkView.cpp
........\homeworkView.h
........\InitialDlg.cpp
........\InitialDlg.h
........\MainFrm.cpp
........\MainFrm.h
........\ReadMe.txt
........\res\homework.ico
........\...\homework.rc2
........\...\homeworkDoc.ico
........\...\icon1.ico
........\...\Toolbar.bmp
........\resource.h
........\StdAfx.cpp
........\StdAfx.h
........\SumDlg.cpp
........\SumDlg.h
........\Debug
........\res
homework