11 2020 档案
摘要:看到网上很多人说用indexOf其实这个方法是有问题的 比如 有两列 AB和A 你要获取A列的索引你怎么获取 在DataColumn中有一个设置列索引的方法叫 SetOrdinal , 故而获取索引就可以获取这个值即
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { CloseExcelWorkbook("TestReport.xlsx"); } //put the following abbreviation to the "using" bloc
阅读全文
摘要:https://blog.darkthread.net/blog/access-sharepoint-doclib-with-dotnet/ 可参考它的方法.代码是通用的(它里面包括了文件夹操作等) 我安装的包如下: 读取文件: var ctx = new ClientContext(url); /
阅读全文