- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
ProType.h
资源名称:final.rar [点击查看]
上传用户:fangwenmm
上传日期:2014-06-18
资源大小:6955k
文件大小:1k
源码类别:
企业管理
开发平台:
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_)