摘要: NET平台下的Excel编程|C#操作Excel|Application和ApplicationClass的联系和区别1. Interop含义Interop是互操作的含义。Microsoft.Office.Interop.Excel.dll 是 Excel COM的.NET封装。.NET code通过这些被重新封装的COM来操作Excel。2. 基础环境在运行环境中必须安装Office,否则即使有Microsoft.Office.Interop.Excel.dll也无法用.NET code来操作Excel。当然,有些工具可以在没有安装Office的情况下操作Excel,比如GemBox.Exc 阅读全文
posted @ 2013-12-26 21:42 天马3798 阅读(1917) 评论(0) 推荐(0) 编辑
摘要: 方法一:ScriptManager.RegisterClientScriptBlock(this,typeof(Page), "NoInformation", "window.parent.frames['Add'].location.reload();", true); 此: 会弹出页面刷新错误方法二: ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "NoInformation", "window.parent.frames[' 阅读全文
posted @ 2013-12-26 08:57 天马3798 阅读(420) 评论(0) 推荐(0) 编辑