<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reading Excel 2003 and 2007 Files Using OLEDB</title>
	<atom:link href="http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/</link>
	<description>Premium Web Application Development</description>
	<lastBuildDate>Fri, 11 May 2012 06:51:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Erwin</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-281646</link>
		<dc:creator>Erwin</dc:creator>
		<pubDate>Thu, 23 Feb 2012 11:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-281646</guid>
		<description>Nice article thanks a lot ;-)

Is there a way I can get something more about the styles that are used within the excell sheet?  Like font size, font, etc.

any help is appreciated</description>
		<content:encoded><![CDATA[<p>Nice article thanks a lot <img src='http://codehill.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Is there a way I can get something more about the styles that are used within the excell sheet?  Like font size, font, etc.</p>
<p>any help is appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anoop</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-281341</link>
		<dc:creator>Anoop</dc:creator>
		<pubDate>Wed, 22 Feb 2012 16:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-281341</guid>
		<description>Is it possible to read the cell comments using oledb ?</description>
		<content:encoded><![CDATA[<p>Is it possible to read the cell comments using oledb ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-272919</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 25 Jan 2012 08:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-272919</guid>
		<description>Great code,

but I am having problems with a particular spreadsheet

it has the text &quot;n/a&quot; in a lot of cells and i think maybe the provider may have decided that the particular column is numerical and because &quot;n/a&quot; isnt numerical its getting dropped

any help appreciated</description>
		<content:encoded><![CDATA[<p>Great code,</p>
<p>but I am having problems with a particular spreadsheet</p>
<p>it has the text &#8220;n/a&#8221; in a lot of cells and i think maybe the provider may have decided that the particular column is numerical and because &#8220;n/a&#8221; isnt numerical its getting dropped</p>
<p>any help appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mars</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-268682</link>
		<dc:creator>Mars</dc:creator>
		<pubDate>Thu, 12 Jan 2012 00:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-268682</guid>
		<description>@Majd

select A, B, C
change to
select F1, F2, F3</description>
		<content:encoded><![CDATA[<p>@Majd</p>
<p>select A, B, C<br />
change to<br />
select F1, F2, F3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajoka</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-255165</link>
		<dc:creator>ajoka</dc:creator>
		<pubDate>Sun, 04 Dec 2011 10:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-255165</guid>
		<description>Yeah, it really works.

I&#039;ve tried ExcelDataReader on codeplex, but it had some odd behaviour (some numeric/currency values were converted to date-time strings).

So this OLEDB for OpenXml is really cool.

I&#039;ve tested it on 64 bit. It&#039;s only a matter of oledb providers, but these 2 should be in windows already.

Big thanx!

Now i have to solve:
- opening from stream and not from file
- converting to dataset

:-D</description>
		<content:encoded><![CDATA[<p>Yeah, it really works.</p>
<p>I&#8217;ve tried ExcelDataReader on codeplex, but it had some odd behaviour (some numeric/currency values were converted to date-time strings).</p>
<p>So this OLEDB for OpenXml is really cool.</p>
<p>I&#8217;ve tested it on 64 bit. It&#8217;s only a matter of oledb providers, but these 2 should be in windows already.</p>
<p>Big thanx!</p>
<p>Now i have to solve:<br />
- opening from stream and not from file<br />
- converting to dataset</p>
<p> <img src='http://codehill.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Verma</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-237658</link>
		<dc:creator>Amit Verma</dc:creator>
		<pubDate>Thu, 13 Oct 2011 21:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-237658</guid>
		<description>Great article... Provided me with good insight when I was consistently getting &quot;External table not in the correct format&quot; error while reading Excel 2007 using Oledb. Thanks guys!</description>
		<content:encoded><![CDATA[<p>Great article&#8230; Provided me with good insight when I was consistently getting &#8220;External table not in the correct format&#8221; error while reading Excel 2007 using Oledb. Thanks guys!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-164308</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Thu, 12 May 2011 09:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-164308</guid>
		<description>HI Friends,

Before loading the data into datatable, i want to remove the empty rows from worksheet. Please help me

Thanks,
Happy Coding.</description>
		<content:encoded><![CDATA[<p>HI Friends,</p>
<p>Before loading the data into datatable, i want to remove the empty rows from worksheet. Please help me</p>
<p>Thanks,<br />
Happy Coding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-164304</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Thu, 12 May 2011 09:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-164304</guid>
		<description>Hi,

I want to retrieve the excel sheet names. i used the above mentioned code. But my excel sheet contains few macros. The below code
System.Data.DataTable dataSet = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null); 

am getting macros names also. Please help me to retrieve the sheet names alone.

Thanks,
Happy coding</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to retrieve the excel sheet names. i used the above mentioned code. But my excel sheet contains few macros. The below code<br />
System.Data.DataTable dataSet = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null); </p>
<p>am getting macros names also. Please help me to retrieve the sheet names alone.</p>
<p>Thanks,<br />
Happy coding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Majd</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-146296</link>
		<dc:creator>Majd</dc:creator>
		<pubDate>Tue, 29 Mar 2011 09:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-146296</guid>
		<description>Thanx for this great post, But i have a problem. i have an excel sheet with many columns and i dont want all of these columns to be imported. also, the sheet has no header row and the first row includes merged fields including logo , etc. how can i import some of the colums . i tried select A, B ,C form [sheet1$] but i got &quot;need parameters&quot; error. does any one have a soulition to my problem using the posted code or any other ways? 
thanks in advance</description>
		<content:encoded><![CDATA[<p>Thanx for this great post, But i have a problem. i have an excel sheet with many columns and i dont want all of these columns to be imported. also, the sheet has no header row and the first row includes merged fields including logo , etc. how can i import some of the colums . i tried select A, B ,C form [sheet1$] but i got &#8220;need parameters&#8221; error. does any one have a soulition to my problem using the posted code or any other ways?<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/#comment-144510</link>
		<dc:creator>Dev</dc:creator>
		<pubDate>Fri, 25 Mar 2011 18:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-144510</guid>
		<description>@Antonio Bakula

Unfortunately there is no way to grab an underlying hyperlink from the cell itself. Connecting to an Excel file via OLEDB treats all rows/columns like a flat database. Excel stores hyperlinks and other items in metadata native to the .XLS/.XLSX format. As of this posting the only way to grab an underlying hyperlink is via Interop. Doing a google search will get the results you need for grabbing a hyperlink via Interop.

By the way .. Interop is SLOW (technically speaking it should be), so if you have a lot of records and need to merge data so you can incorporate the links in a personalized DataTable, be prepared to wait ...</description>
		<content:encoded><![CDATA[<p>@Antonio Bakula</p>
<p>Unfortunately there is no way to grab an underlying hyperlink from the cell itself. Connecting to an Excel file via OLEDB treats all rows/columns like a flat database. Excel stores hyperlinks and other items in metadata native to the .XLS/.XLSX format. As of this posting the only way to grab an underlying hyperlink is via Interop. Doing a google search will get the results you need for grabbing a hyperlink via Interop.</p>
<p>By the way .. Interop is SLOW (technically speaking it should be), so if you have a lot of records and need to merge data so you can incorporate the links in a personalized DataTable, be prepared to wait &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

