以下程序在VS2005中运行为什么会提示如下错误?(红字)
void CDlgadd::OnOK(){
// TODO: Add your specialized code here and/or call the base class
UpdataData(TRUE);
CString m_2="",m_1="",m_5="";
m_Sex.GetWindowText(m_1);
m_List.GetWindowText(m_5);
UINT m_6=GetCheckedRadioButton(IDC_RADIO1,IDC_RADIO2);
if(m_6==IDC_RADIO1)
{m_2="住院";}
else
{m_2="门诊";}
CDialog::OnOK();
}
1>e:\21\21\dlgadd.cpp(58) : error C3861: 'UpdataData': identifier not found