我读了《如何读取单个Excel单元格值》,并亲自尝试了一下。但是当我到达
string s = (myExcelWorkSheet.Cells[3, "E"] as Excel.Range).Value2.ToString();
一切都终止了,并显示了表格。
//Everything worked fine here.
string s = (myExcelWorkSheet.Cells[3, "E"] as Excel.Range).Value2.ToString();
//Everything after this was all skipped!
为什么会这样,我该如何解决?
三国纷争
桃花长相依
相关分类