Hi,
I am new to Silverlight. i have installed silverlight in vs 2008. is it possible to import excel and bind it any grid in silverlight. i dont find automation factory option in the silverlight even though i include the interoper. Please suugest me how can i do this.
Thanks in advance.
Loading
Priya LingePosted Sep 12, 2011, 1:09 AM
1.Enable the Application as Out-Of Browser setting to true.And also mark the Require elevated trust
When running outside the browser.
2.Make one class name as ExportExcelClass,With the help of this class we create Excel Application.
Use 'using System.Runtime.InteropServices.Automation' this namespace in class.
dynamic excel = AutomationFactory.CreateObject("Excel.Application");
Please check attached file.
Hope this will help you.
Thanks.