同一个类的相同写法的函数为什么在调用时,有的不能用出错啊
如:class CAddressListDataSet : public CDataSet  
{
public: int GetID();
 CString GetName();
 CString GetMobile();
 BOOL LoadData(int ParID);
 BOOL LoadByAddressListID(int AddressListID);
 BOOL LoadDataByDepartmentID(int DepartmentID);
 CAddressListDataSet();
 virtual ~CAddressListDataSet();};
类CAddressListDataSet中的GetName()方法在
...
 while(!m_dsALDInfo.IsEOF())
  {
   
   CString temp; 
   
   temp.Format("%d", m_dsALDInfo.GetID());
   m_addresslist.InsertItem (nRowCount,temp); 
   temp.Format("%s", m_dsALDInfo.GetName());
   m_addresslist.SetItemText(nRowCount,1,temp);    temp.Format("%s", m_dsALDInfo.GetMobile());
   m_addresslist.SetItemText(nRowCount,2,temp);   
   m_dsALDInfo.MoveNext();
  }
  m_dsALDInfo.Close();
 }
...
能成功调用,而m_dsALDInfo.GetMobile()就不能调用啊