|  |  | 
 |  |  |  | 
 |  |  |       int OnSave() | 
 |  |  |       { | 
 |  |  |          xml x = new xml; | 
 |  |  |          xml x ; | 
 |  |  |           | 
 |  |  |          dw_list.AcceptText(); | 
 |  |  |          dw_list.DwUpdateAllToEx(x); | 
 |  |  |          xaserverarg arg; | 
 |  |  |          arg.setNativePointer(xaserverarg::CreateInstance()); | 
 |  |  |          arg.AddArg(L"content", x.xml().replace(L" 00:00:00", L"").replace(L"0000-00-00", L"")); | 
 |  |  | 			 | 
 |  |  |          arg.AddArg(L"content", xstring(x.xml()).replace(L" 00:00:00", L"").replace(L"0000-00-00", L"")); | 
 |  |  |          //trace(x.xml().replace(L" 00:00:00", L"").replace(L"0000-00-00", L""));//运行界面打印          | 
 |  |  |          if (getUrl(L"/sale/data/ManpowerFile/multiUpdate", arg.GetString(), x) != 1) { | 
 |  |  |             xstring error = x.text(); | 
 |  |  | 
 |  |  |          AttachEvent(L"WM_XCOMMAND", (FEvent)&BlankExcelTemplateView::OnXCommand); | 
 |  |  |          //获取焦点事件,用于重置工具条 | 
 |  |  |          AttachEvent(L"WM_SETFOCUS", (FEvent)&BlankExcelTemplateView::OnSetFocus); | 
 |  |  |          return 1; | 
 |  |  |       } | 
 |  |  |  | 
 |  |  |       /*//加载数据 | 
 |  |  |       int  OnRetrieve() | 
 |  |  |       { | 
 |  |  |          xml x = new xml; | 
 |  |  |          xml x ; | 
 |  |  |           | 
 |  |  |          xaserverarg arg; | 
 |  |  |           |