C# .NET - Namespace for workbookengine

Asked By Vidyasagar Patil on 03-Jun-11 07:24 AM


  hi 
 
  what namespace should i use for the following line i am working on windows using c#

 

StreamReader reader =new StreamReader(typeof (WorkbookEngine).Assembly.GetManifestResourceStream(typeof (WorkbookEngine), “Excel.xsl”));


  please help

Riley K replied to Vidyasagar Patil on 03-Jun-11 07:26 AM
Hi 
I think you need to add the reference of System.Xml
please refer this link

Hope this will help you :-)
Jitendra Faye replied to Vidyasagar Patil on 03-Jun-11 07:29 AM
Here workbookengine is custom class which is desighed for exporting data from dataset to excel file.
you can get all code here-

http://www.eggheadcafe.com/articles/20050404.asp
Bala Marish replied to Vidyasagar Patil on 03-Jun-11 07:34 AM


use these name space

http://msdn.microsoft.com/en-us/library/system.io.aspx