如何取Excel表格?
C#开发|冯美娟|2018-07-24 16:56
-
回答:
MxDrawResbuf ret = (MxDrawResbuf)axMxDrawX1.Call("ExApp_GetExcel", ""); if (ret.AtString(0) == "Ok") { for (int i = 0; i < ret.Count; i++) { MessageBox.Show(ret.AtString(0)); } } else { MessageBox.Show("图上没有EXCEL有格文件"); }