views:

314

answers:

2

I want to read the excel sheet file and convert to xml file. How can I do this in entity framework

+4  A: 

Entity Framework is an OR/M, not a tool to convert excel-files (which in the newest format are XML).

CodeMonkey
Suggested reading: http://en.wikipedia.org/wiki/Entity_Framework
CodeMonkey
A: 

The question is incorrect, but there is in fact a way to convert excel files to xml using Linq To Excel and some kind of xml handling functions eg. linq to xml.

kubal5003
Why are you mentioning Linq to SQL. He is asking about Entity Framework
CodeMonkey
I didn't mention Linq to SQL. I mentioned Linq to EXCEL which is a linq provider(well, technically it isn't, but can be somehow thought of being) built on top of Linq To Xml and it provides easy access to excel sheets - you can then do whatever you want with them.Ofcourse this applies only to the new format of excel files.
kubal5003