摘要:
代码如下: private string GetHttpStr(string str, string httpStr) { bool Ishavevalue = false; int newlength = httpStr.Length; string newstr = null; string httpendString = "<"; if (str.Length >= newlength && str.Contains(httpStr)) { newstr = str.Substring(str.IndexOf(httpStr, StringCompariso 阅读全文
摘要:
运行如下代码时发现弹出Exception from HRESULT: 0x800A03EC异常 private void ExportExcel(DataTable dt) { if (dt == null) return; Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); if (xlApp == null) { return; } System.Globalization.CultureInfo CurrentCI = System.Thr 阅读全文