没有错误就奇怪了
这样修改!
    //更新
    pRs->AddNew();
    for(int x = 0; x <pRs->GetFieldCount(); x++) 
    {
        CString strTemp = m_pGrid->GetItemText(curRow,x);
            CDaoFieldInfo fieldinfo;
            pRs->GetFieldInfo(x, fieldinfo);            strcpy(szValue, strTemp.GetBuffer(strTemp.GetLength()));
            strTemp.ReleaseBuffer();
            pRs->SetFieldValue(x,szValue);
    }
    try
    {
        pRs->Update();
    }