mdb.h

来自「一个企业订单管理流程的例子」· C头文件 代码 · 共 37 行

H
37
字号
// Mdb.h: interface for the CMdb class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MDB_H__E94AC849_82D9_4043_B8B7_F7410A64B42F__INCLUDED_)
#define AFX_MDB_H__E94AC849_82D9_4043_B8B7_F7410A64B42F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define MDB_GOODS_MAXNO 200
class CMdb  
{
public:
	int QueryMdbDao(CString *goods_num,CString  *goods_mode,CString *goods_unitprice);
	int QueryAllMdbDao(CString *goods_num,CString  *goods_mode,CString *goods_unitprice);
	int Change(CString goods_num,CString  goods_mode,CString goods_unitprice);
	int DeleteMdbDao(CString goods_num, CString goods_mode, CString goods_unitprice);
	int InsertMdbDao(CString goods_num,CString  goods_mode,CString goods_unitprice);
	int CreateMdbDAO();

	CMdb();
	virtual ~CMdb();

	int mdb_goods_maxno;
    struct GOODS{
		CString t_goods_num;
		CString t_goods_mode;
		CString t_goods_unitprice;	
	}mdb_goods[MDB_GOODS_MAXNO];

	CString m_ChangeMdb[3];	
};

#endif // !defined(AFX_MDB_H__E94AC849_82D9_4043_B8B7_F7410A64B42F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?