?? protype.h
字號:
// ProType.h: interface for the CProType class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROTYPE_H__B7474F6B_B825_4B2D_BAF8_DBB01A98B1DA__INCLUDED_)
#define AFX_PROTYPE_H__B7474F6B_B825_4B2D_BAF8_DBB01A98B1DA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CProType
{
private:
int TypeId;
CString TypeName;
int UpperId;
public:
CProType();
virtual ~CProType();
//讀取和設置成員變量
int GetTypeId();
void SetTypeId(int iTypeId);
CString GetTypeName();
void SetTypeName(CString cTypeName);
int GetUpperId();
void SetUpperId(int iUpperId);
//數據庫操作
int HaveName(CString cTypeName); //判斷指定的產品類別名稱是否在數據庫中
int HaveSon(CString cTypeId); //判斷指定的產品類別是否包含子類
void sql_insert();
void sql_update(CString cTypeId);
void sql_delete(CString cTypeId);
//讀取所有字段值
void GetData(CString cTypeId);
};
#endif // !defined(AFX_PROTYPE_H__B7474F6B_B825_4B2D_BAF8_DBB01A98B1DA__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -