上传者: dzfree_wf
|
上传时间: 2022-03-24 10:03:34
|
文件大小: 5.53MB
|
文件类型: -
#if !defined(AFX_USERS_H__7AB8B197_FAD4_4C75_B32B_40F799B5A97F__INCLUDED_)
#define AFX_USERS_H__7AB8B197_FAD4_4C75_B32B_40F799B5A97F__INCLUDED_
#include "ADOConn.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CUsers
{
private:
CString Username;
CString Pwd;
CString JB;
public:
CUsers();
virtual ~CUsers();
CString GetUsername();
void SetUsername(CString cUsername);
CString GetPwd();
void SetPwd(CString cPwd);
CString GetJB();
void SetJB(CString cJB);
void sql_insert();
void sql_update(CString cUsername);
void sql_delete(CString cUsername);
void sql_updatepwd(CString cUsername);
int Havename(CString cUsername);
int HaveCzy(CString cUsername,CString cPwd);
int HaveCzyjb(CString cUsername,CString cPwd,CString cJB);
};
#endif // !defined(AFX_USERS_H__7AB8B197_FAD4_4C75_B32B_40F799B5A97F__INCLUDED_)