| | |
| | | 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); |
| | |
| | | { |
| | | dw_list.AcceptText(); |
| | | |
| | | for (int row = 1; row <= dw_list.GetRowCount(); ++row) |
| | | { |
| | | if (dw_list.GetItemString(row, L"序号") == L"" || dw_list.GetItemString(row, L"序号") == L" ") dw_list.DeleteRow(row); |
| | | } |
| | | |
| | | if(dw_list.GetRowCount()>0) |
| | | { |
| | | if(dw_list.GetItemString(dw_list.GetRowCount(),L"序号")==L"") dw_list.DeleteRow(dw_list.GetRowCount()); |
| | | if(dw_list.GetItemString(dw_list.GetRowCount(),L"序号")==L"" || dw_list.GetItemString(dw_list.GetRowCount(), L"序号") == L" ") dw_list.DeleteRow(dw_list.GetRowCount()); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | xml x ; |
| | | |
| | | KXMLDOMDocument xdoc = x; |
| | |
| | | return 0; |
| | | } |
| | | |
| | | int ViewUpdate(int pr,xstring updateItem,xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg) |
| | | { |
| | | if( updateItem==L"setstate") |
| | | { |