Dictionary<string, object> param = new Dictionary<string, object>();
param.Add("file_id", _wjid);
Dictionary<string, object> dicFile = HttpUtil.HttpPost("/outEmr/getFileContent", param);
if (dicFile.Count == 0)
{
DwFunction.ShowMsg("未找到病历!");
return;
}
ArrayList vds = dicFile["vds"] as ArrayList;
DataTable dataDt = PubUtil.ArrayList2DataTable(vds);
editor.editorWriter.LoadDocumentFromString(Convert.ToString(dataDt.Rows[0]["file_content"]), "xml");
dicFile里包含vds,vds转换成Datatable类型的数据dataDt,从dataDt中获取相应value的值。