救急!!创建Excel对象时出错,WHY?
在C#中调用的是Excel对象,引用后运行时出现如下错误:
System.Runtime.InteropServices.COMException: OLE 服务无法绑定对象
源错误:
行 19: private void Page_Load(object sender, System.EventArgs e)
行 20: {
行 21: Excel.Application excel = new Excel.ApplicationClass();
行 22: if(excel!=null)
行 23: {