vector<upvalue>::iterator iter;
vector<upvalue>::iterator iend;
for (int i=0;i<num;i++)
{
tempNo=DanWeiNo.GetAt(i);
iter=ValueLIST.begin();
iend=ValueLIST.end();
while (iter!=iend)
{
if (iter->csDWNo==tempNo)
{
strSQL.Format("update Person set JDDM='%s',JDMC='%s',REGION='%s' where OrderNo='%s'and companyNo='%s'",iter->csJDDM,iter->csJDMC,iter->csReGion,m_OrderNo,iter->csDWNo);
m_conn->Execute((_bstr_t)strSQL,NULL,adCmdText);
}
iter++;
}
}