|  |  | 
 |  |  |          while(ll_row > 0 && ll_row <= dw_list.GetRowCount()) | 
 |  |  |          { | 
 |  |  |             xstring id=dw_list.GetItemString(ll_row,m_entityid.c_str()); | 
 |  |  |             if(EntityIDList == L"") EntityIDList = id; else EntityIDList  += L",L" + id; | 
 |  |  |             if(EntityIDList == L"") EntityIDList = id; else EntityIDList  += L"" + id; | 
 |  |  |             ll_row =  dw_list.GetNextSelectRow(ll_row + 1); | 
 |  |  |          } | 
 |  |  |          if(EntityIDList != L"") arg.AddArg(L"EntityID",EntityIDList); | 
 |  |  | 
 |  |  |          return 0; | 
 |  |  |       } | 
 |  |  |        | 
 |  |  |       int ViewUpdate(int pr,xstring updateItem,xaserverarg  arg) | 
 |  |  |       int ViewUpdate(LPARAM  pr,xstring updateItem,xaserverarg  arg) | 
 |  |  |       { | 
 |  |  |          if(   updateItem==L"setstate") | 
 |  |  |          {          |