Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ProType.h
Package: final.rar [view]
Upload User: fangwenmm
Upload Date: 2014-06-18
Package Size: 6955k
Code Size: 1k
Category:
ERP-EIP-OA-Portal
Development Platform:
Visual C++
- // 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_)