freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于mysql的醫(yī)院綜合信息管理系統(tǒng)設(shè)計(jì)報(bào)告doc-閱讀頁(yè)

2024-08-06 01:17本頁(yè)面
  

【正文】 RecordsetPutCollect(phone,(_bstr_t)m_phone)。//更新數(shù)據(jù)庫(kù) ()。 return。 ()。 str=select* from patient。//重新遍歷}void CPatientDlg::OnBnClickedChange(){ // TODO: 在此添加控件通知處理程序代碼 UpdateData(true)。 ()。 (CString(UPDATE `mydb`.`patient` SET `name`=39。,`sex`=39。,`age`=39。,`native`=39。,`nation`=39。,`allergy`=39。,`idcard`=39。,`phone`=39。 WHERE `patientno`=39。),m_name,m_sex,m_age,m_native,m_nation,m_allergy,m_idcard,m_phone,m_no)。 ()。 ()。 str=select* from patient。//重新遍歷}void CPatientDlg::OnBnClickedDelete(){ // TODO: 在此添加控件通知處理程序代碼 UpdateData(true)。 ()。 (CString(delete from patient where patientno = 39。),m_no)。 (CString(是否要?jiǎng)h除%s的記錄),m_name)。 ()。 ()。 str=select* from patient。//重新遍歷 }}void CPatientDlg::OnBnClickedClear(){ // TODO: 在此添加控件通知處理程序代碼 m_age = _T()。 m_idcard = _T()。 m_nation = _T()。 m_allergy = _T()。 m_sex = _T()。}void CPatientDlg::OnBnClickedSelect(){ // TODO: 在此添加控件通知處理程序代碼 ()。 CString str1,str2。 num1=()。 str2=CString(select* from patient where patientno like )+CString(39。)。// 遍歷功能信息記錄 } if(1==num1) { GetDlgItem(IDC_EDIT_CONTENT)GetWindowText(str1)。)+str1+CString(39。 AddToGrid(str2)。 str2=CString(select* from patient where idcard like )+CString(39。)。// 遍歷功能信息記錄 } if(3==num1) { GetDlgItem(IDC_EDIT_CONTENT)GetWindowText(str1)。 AddToGrid(str2)。 // TODO: 在此添加控件通知處理程序代碼 int nItem=0。 if (pos == NULL) TRACE0(No items were selected!\n)。//找到被選中的行號(hào) TRACE1(Item %d was selected!\n, nItem)。 m_name=(nItem,1)。 m_age=(nItem,3)。 m_nation=(nItem,5)。 m_idcard=(nItem,7)。 UpdateData(FALSE)。}// : 實(shí)現(xiàn)文件//人員管理:吳婷include include include include include // CEmployeeDlg 對(duì)話框IMPLEMENT_DYNAMIC(CEmployeeDlg, CDialogEx)CEmployeeDlg::CEmployeeDlg(CWnd* pParent /*=NULL*/) : CDialogEx(CEmployeeDlg::IDD, pParent){ m_age = _T()。 m_idcard = _T()。 m_nation = _T()。 m_number = _T()。 m_phone = _T()。 m_sex = _T()。 DDX_Text(pDX, IDC_EDIT_AGE, m_age)。 DDX_Text(pDX, IDC_EDIT_IDCARD, m_idcard)。 DDX_Text(pDX, IDC_EDIT_NATION, m_nation)。 DDX_Text(pDX, IDC_EDIT_NUMBER, m_number)。 DDX_Text(pDX, IDC_EDIT_PHONE, m_phone)。 DDX_Text(pDX, IDC_EDIT_SEX, m_sex)。 DDX_Control(pDX, IDC_COMBO1, m_bo)。CEmployeeDlg::OnBnClickedOk) ON_BN_CLICKED(IDC_CHANGE, amp。CEmployeeDlg::OnBnClickedDelete) ON_BN_CLICKED(IDC_CLEAR, amp。CEmployeeDlg::OnBnClickedSelect) ON_NOTIFY(NM_CLICK, IDC_LIST_EMPLOYEE, amp。 // TODO: 在此添加額外的初始化 (LVS_EX_FLATSB |LVS_EX_FULLROWSELECT |LVS_EX_HEADERDRAGDROP |LVS_EX_ONECLICKACTIVATE |LVS_EX_GRIDLINES)。 (1,CString(姓名),LVCFMT_LEFT,100,1)。 (3,CString(年齡),LVCFMT_LEFT,100,3)。 (5,CString(民族),LVCFMT_LEFT,100,5)。 (7,CString(職稱),LVCFMT_LEFT,100,7)。 (9,CString(聯(lián)系電話),LVCFMT_LEFT,100,9)。 (1,CString(姓名))。 (3,CString(職稱))。 (5,CString(全部信息))。 CString str。 AddToGrid(str)。 // return TRUE unless you set the focus to a control // 異常: OCX 屬性頁(yè)應(yīng)返回 FALSE}void CEmployeeDlg::AddToGrid(CString str){ CADOConn m_AdoConn。 CString sql。 _RecordsetPtr m_pRecordset。 while(adoEOF==0) { (0,CString())。 (0,1,(CString)(char*)(_bstr_t)m_pRecordsetGetCollect(name))。 (0,3,(CString)(char*)(_bstr_t)m_pRecordsetGetCollect(age))。 (0,5,(CString)(char*)(_bstr_t)m_pRecordsetGetCollect(nation))。 (0,7,(CString)(char*)(_bstr_t)m_pRecordsetGetCollect(position))。 (0,9,(CString)(char*)(_bstr_t)m_pRecordsetGetCollect(phone))。 } ()。}void CEmployeeDlg::OnBnClickedOk(){ // TODO: 在此添加控件通知處理程序代碼 //CDialogEx::OnOK()。 if(()) { MessageBox(CString(編號(hào)不能為空!))。 } if(()) { MessageBox(CString(名稱不能為空!))。 } if(()) { MessageBox(CString(省份證號(hào)碼不能為空!))。 } CADOConn m_AdoConn。 _bstr_t sql。 _RecordsetPtr m_pRecordset。 try { m_pRecordsetAddNew()。 m_pRecordsetPutCollect(name,(_bstr_t)m_name)。 m_pRecordsetPutCollect(age,(_bstr_t)m_age)。 m_pRecordsetPutCollect(nation,(_bstr_t)m_nation)。 m_pRecordsetPutCollect(position,(_bstr_t)m_position)。 m_pRecordsetPutCollect(phone,(_bstr_t)m_phone)。//更新數(shù)據(jù)庫(kù) ()。 return。 ()。 str=select* from doctor。//重新遍歷}void CEmployeeDlg::OnBnClickedChange(){ // TODO: 在此添加控件通知處理程序代碼 UpdateData(true)。 ()。 (CString(UPDATE `mydb`.`doctor` SET `name`=39。,`sex`=39。,`age`=39。,`native`=39。,`nation`=39。,`office`=39。,`position`=39。,`idcard`=39。,`phone`=39。 WHERE `employeeno`=39。),m_name,m_sex,m_age,m_native,m_nation,m_office,m_position,m_idcard,m_phone,m_number)。 ()。 ()。 str=select* from doctor。//重新遍歷}void CEmployeeDlg::OnBnClickedDelete(){ // TODO: 在此添加控件通知處理程序代碼 UpdateData(true)。 ()。 (CString(delete from doctor where employeeno = 39。),m_number)。 (CString(是否要?jiǎng)h除%s的記錄),m_name)。 ()。 ()。 str=select* from doctor。//重新遍歷 }}void CEmployeeDlg::OnBnClickedClear(){ // TODO: 在此添加控件通知處理程序代碼 m_age = _T()。 m_idcard = _T()。 m_nation = _T()。 m_office = _T()。 m_position = _T()。 UpdateData(false)。 UpdateData(true)。 int num1,num2。 if(0==num1) { GetDlgItem(IDC_EDIT_CONTENT)GetWindowText(str1)。)+str1+CString(39。 AddToGrid(str2)。 str2=CString(select* from doctor where name like )+CString(39。)。// 遍歷功能信息記錄 } if(2==num1) { GetDlgItem(IDC_EDIT_CONTENT)GetWindowText(str1)。)+str1+CString(39。 AddToGrid(str2)。 str2=CString(select* from doctor where position like )+CString(39。)。// 遍歷功能信息記錄 } if(4==num1) { GetDlgItem(IDC_EDIT_CONTENT)GetWindowText(str1)。)+str1+CString(39。 AddToGrid(str2)。 str2=select* from doctor order by employeeno DESC。// 遍歷功能信息記錄 }}void CEmployeeDlg::OnNMClickListEmployee(NMHDR *pNMHDR, LRESULT *pResult){ LPNMITEMACTIVATE pNMItemActivate = reinterpret_castLPNMITEMACTIVATE(pNMHDR)。 POSITION pos = ()。 else { while (pos) { nItem = (
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1