摘要: 代码如下: 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 阅读全文
posted @ 2011-02-16 18:21 spring yang 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 运行如下代码时发现弹出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 阅读全文
posted @ 2011-02-16 17:41 spring yang 阅读(7040) 评论(0) 推荐(0) 编辑