To insert data into Excel file from datatable using C# .Net
Posted on 2005-04-06
MESSAGE: An unknown exception occured in Domain. jp Access is denied.
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)
This is the error and it is coming at line which looks like this:
" objExcel = new Excel.ApplicationClass(); "
I hv MS Excel 11.0 Object Library(MS Office 2003) & OS : MS 2000 Prof.
My task is : To insert data into Excel file from datatable.
This is very urgent need....plzzzzzz reply to this as early as possible
waiting for reply....
Thanking u in anticipation......