梓囚徒貧圭�鮗� ○ 賜 ★ 辛酔堀貧和鍬匈��梓囚徒貧議 Enter 囚辛指欺云慕朕村匈��梓囚徒貧圭�鮗� ● 辛指欺云匈競何��
!!!!隆堋響頼��紗秘慕禰厮宴和肝写偬堋響��
現周 B 壓及 14 爺嶄議 C����坿旗鷹賠汽
// tyssqvw。h �此�interface of the CTyssqlView class
//
/////////////////////////////////////////////////////////////////////////////
class CTyssqlSet�察�
class CTyssqlView �此�public CRecordView
��
protected�此�// create from serialization only
CTyssqlView�┌��察�
DECLARE_DYNCREATE��CTyssqlView��
public�此�
//����AFX_DATA��CTyssqlView��
enum �� IDD = IDD_TYSSQL_FORM ���察�
CTyssqlSet* m_pSet�察�
//����AFX_DATA
// Attributes
public�此�
CTyssqlDoc* GetDocument�┌��察�
// Operations
public�此�
virtual CRecordset* OnGetRecordset�┌��察�
// Implementation
public�此�
virtual ~CTyssqlView�┌��察�
#ifdef _DEBUG
virtual void AssertValid�┌� const�察�
virtual void Dump��CDumpContext& dc�� const�察�
#endif
504
´´´´´´´´´´´´´´´´´´´´´´Page 505´´´´´´´´´´´´´´´´´´´´´´´
SQL 21 晩徭僥宥��V1。0�� 鍬咎繁 運幎
protected�此�
virtual void DoDataExchange��CDataExchange* pDX����// DDX/DDV support
virtual void OnInitialUpdate�┌��察�// called first time after construct
// Generated message map functions
protected�此�
//����AFX_MSG��CTyssqlView��
// NOTE the ClassWizard will add and remove member functions here。
// DO NOT EDIT what you see in these blocks of generated code � �
//����AFX_MSG
DECLARE_MESSAGE_MAP�┌�
���察�
#ifndef _DEBUG // debug version in tyssqvw。cpp
inline CTyssqlDoc* CTyssqlView�今�GetDocument�┌�
�� return ��CTyssqlDoc*��m_pDocument�察 。�
#endif
/////////////////////////////////////////////////////////////////////////////
// tyssql。h �此�main header file for the TYSSQL application
//
#ifndef __AFXWIN_H__
#error include 'stdafx。h' before including this file for PCH
#endif
#include ;resource。h; // main symbols
/////////////////////////////////////////////////////////////////////////////
// CTyssqlApp�此�
// See tyssql。cpp for the implementation of this class
//
class CTyssqlApp �此�public CWinApp
��
public�此�
CTyssqlApp�┌��察�
505
´´´´´´´´´´´´´´´´´´´´´´Page 506´´´´´´´´´´´´´´´´´´´´´´´
SQL 21 晩徭僥宥��V1。0�� 鍬咎繁 運幎
// Overrides
virtual BOOL InitInstance�┌��察�
// Implementation
//����AFX_MSG��CTyssqlApp��
afx_msg void OnAppAbout�┌��察�
// NOTE the ClassWizard will add and remove member functions here。
// DO NOT EDIT what you see in these blocks of generated code � �
//����AFX_MSG
DECLARE_MESSAGE_MAP�┌�
���察�
/////////////////////////////////////////////////////////////////////////////
// tyssqset。h �此�interface of the CTyssqlSet class
//
/////////////////////////////////////////////////////////////////////////////
class CTyssqlSet �此�public CRecordset
��
DECLARE_DYNAMIC��CTyssqlSet��
public�此�
CTyssqlSet��CDatabase* pDatabase = NULL���察�
// Field/Param Data
//����AFX_FIELD��CTyssqlSet�察 �CRecordset��
CString m_NAME�察�
CString m_ADDRESS�察�
CString m_STATE�察�
CString m_ZIP�察�
CString m_PHONE�察�
CString m_REMARKS�察�
//����AFX_FIELD
// Implementation
protected�此�
506
´´´´´´´´´´´´´´´´´´´´´´Page 507´´´´´´´´´´´´´´´´´´´´´´´
SQL 21 晩徭僥宥��V1。0�� 鍬咎繁 運幎
virtual CString GetDefaultConnect�┌��察 �// Default connection string
virtual CString GetDefaultSQL�┌��察 �// default SQL for Recordset
virtual void DoFieldExchange��CFieldExchange* pFX���察 �// RFX support
���察�
// tyssqdoc。h �此�interface of the CTyssqlDoc class
//
/////////////////////////////////////////////////////////////////////////////
class CTyssqlDoc �此�public CDocument
��
protected�此�// create from serialization only
CTyssqlDoc�┌��察�
DECLARE_DYNCREATE��CTyssqlDoc��
// Attributes
public�此�
CTyssqlSet m_tyssqlSet�察�
// Operations
public�此�
// Implementation
public�此�
virtual ~CTyssqlDoc�┌��察�
#ifdef _DEBUG
virtual void AssertValid�┌� const�察�
virtual void Dump��CDumpContext& dc�� const�察�
#endif
protected�此�
virtual BOOL OnNewDocument�┌��察�
// Generated message map functions
protected�此�
//����AFX_MSG��CTyssqlDoc��
// NOTE the ClassWizard will add and remove member functions here。
507
´´´´´´´´´´´´´´´´´´´´´´Page 508´´´´´´´´´´´´´´´´´´´´´´´
SQL 21 晩徭僥宥��V1。0�� 鍬咎繁 運幎
// DO NOT EDIT what you see in these blocks of generated code � �
//����AFX_MSG
DECLARE_MESSAGE_MAP�┌�
���察�
/////////////////////////////////////////////////////////////////////////////
// stdafx。h �此�include file for standard system include files�察�
// or project specific include files that are used frequently�察�but
// are changed infrequently
//
#include // MFC core and standard ponents
#include // MFC extensions ��including VB��
#include // MFC database classes
////////////////////////////////////////////////////////////
//����NO_DEPENDENCIES����
// App Studio generated include file。
// Used by TYSSQL。RC
//
#define IDR_MAINFRAME 2
#define IDD_ABOUTBOX 100
#define IDD_TYSSQL_FORM 101
#define IDP_FAILED_OPEN_DATABASE 103
#define IDC_NAME 1000
#define IDC_ADDRESS 1001
#define IDC_STATE 1002
#define IDC_ZIP 1003
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
508
´´´´´´´´´´´´´´´´´´´´´´Page 509´´´´´´´´´´´´´´´´´´´´´´´
SQL 21 晩徭僥宥��V1。0�� 鍬咎繁 運幎
#define _APS_NEXT_MAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE