資源簡介
C++超市進銷存管理系統(tǒng)源碼
系統(tǒng)介紹
在超市的經營中,離不開進貨、銷售和存儲等3方面,而如何能將這3方面都管理好就成了首要問題,在過去,通常是通過大量的人力來保證管理的正常運作,這樣做就有個弊端,當員工進行交接時就容易出錯,而且由于參與管理的人相對較多,出現(xiàn)問題很難劃分責任,為了解決這個問題,超市都開始使用超市進銷存管理系統(tǒng),根據(jù)需要,超市進銷存管理系統(tǒng)應該具有以下功能:
l 前臺銷售結帳。
l 基本信息管理。
l 基本信息查詢。
l 日結查詢。
l 超市小票打印。

代碼片段和文件信息
//?ADOConn.cpp:?implementation?of?the?ADOConn?class.
//
//////////////////////////////////////////////////////////////////////
#include?“stdafx.h“
#include?“OnTheStage.h“
#include?“ADOConn.h“
#ifdef?_DEBUG
#undef?THIS_FILE
static?char?THIS_FILE[]=__FILE__;
#define?new?DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////
ADOConn::ADOConn()
{
}
ADOConn::~ADOConn()
{
}
void?ADOConn::OnInitADOConn()
{
try
{
???????m_pConnection.CreateInstance(“ADODB.Connection“);
???_bstr_t?strConnect=“Provider=MSDAORA.1;Password=mrlrn;\
???User?ID=system;Data?Source=mrLRN;Persist?Security?Info=True“;
???m_pConnection->Open(strConnect““““adModeUnknown);
}
catch(_com_error?e)
{
AfxMessageBox(e.Description());
}
}
BOOL?ADOConn::ExecuteSQL(_bstr_t?bstrSQL)
{
try
{
????????if(m_pConnection==NULL)
????? OnInitADOConn();
????????m_pConnection->Execute(bstrSQLNULLadCmdText);
return?true;
}
catch(_com_error?e)
{
e.Description();
return?false;
}
}
void?ADOConn::ExitConnect()
{
????if(m_pRecordset?!=?NULL)
m_pRecordset->Close();
m_pConnection->Close();
}
_RecordsetPtr&?ADOConn::GetRecordSet(_bstr_t?bstrSQL)
{
try
{
if(m_pConnection==NULL)
??????????????OnInitADOConn();
m_pRecordset.CreateInstance(__uuidof(Recordset));
????????m_pRecordset->Open(bstrSQLm_pConnection.GetInterfacePtr()adOpenDynamicadLockOptimisticadCmdText);
}
????catch(_com_error?e)
{
e.Description();
}
return?m_pRecordset;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????I.A...R???????524??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\filelist.xm
????I.A...R??????1852??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\header.htm
????I.A...R?????29279??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image001.png
????I.A...R?????45911??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image002.jpg
????I.A...R?????39457??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image003.png
????I.A...R?????40934??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image004.jpg
????I.A...R?????47393??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image005.png
????I.A...R?????21776??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image006.jpg
????I.A...R?????42431??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image007.png
????I.A...R?????35466??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image008.jpg
????I.A...R?????38250??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image009.png
????I.A...R?????31706??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.files\image010.jpg
????.......?????46025??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》使用說明書.htm
????I.A...R???????649??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\filelist.xm
????I.A...R??????1850??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\header.htm
????I.A...R????278153??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image001.png
????I.A...R?????60502??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image002.jpg
????I.A...R????231163??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image003.png
????I.A...R?????27980??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image004.jpg
????I.A...R?????36117??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image005.png
????I.A...R?????43470??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image006.jpg
????I.A...R?????17003??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image007.png
????I.A...R?????36878??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image008.jpg
????I.A...R?????10199??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image009.png
????I.A...R?????18048??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image010.jpg
????I.A...R?????20764??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image011.png
????I.A...R?????38307??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image012.jpg
????I.A...R?????18547??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image013.png
????I.A...R?????41481??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.files\image014.jpg
????.......?????33767??2009-08-30?21:28??超市進銷存管理系統(tǒng)\《超市進銷存管理系統(tǒng)》界面預覽.htm
............此處省略93個文件信息
評論
共有 條評論