<?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: How to read in XLSX data for editing with NPOI</title>
	<atom:link href="http://www.zachhunter.com/2010/05/read-xlsx-data-for-npoi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zachhunter.com/2010/05/read-xlsx-data-for-npoi/</link>
	<description>Random Brain Drool</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:52:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: fix@fiji.de</title>
		<link>http://www.zachhunter.com/2010/05/read-xlsx-data-for-npoi/comment-page-1/#comment-418</link>
		<dc:creator>fix@fiji.de</dc:creator>
		<pubDate>Thu, 03 Feb 2011 13:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachhunter.com/?p=263#comment-418</guid>
		<description>http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d

you should use the lastest ODBC drivers for your 32/64 bit environment</description>
		<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&#038;FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d" rel="nofollow">http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&#038;FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d</a></p>
<p>you should use the lastest ODBC drivers for your 32/64 bit environment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Fonseca</title>
		<link>http://www.zachhunter.com/2010/05/read-xlsx-data-for-npoi/comment-page-1/#comment-338</link>
		<dc:creator>Pedro Fonseca</dc:creator>
		<pubDate>Sun, 07 Nov 2010 01:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachhunter.com/?p=263#comment-338</guid>
		<description>Hi Zach, thank you for your post, it was very helpful. Let me just add one small contribution: in my scenario, the &quot;first sheet&#039;s name&quot; is not predictible. I don&#039;t want to ask the user to stick with a fixed name for the first sheet, so I suggest that after line #34 to include:

// START
DataTable dtSheetName = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
firstSheetName = ((System.Data.DataRow)dtSheetName.Rows[0])[&quot;TABLE_NAME&quot;].ToString();
firstSheetName = firstSheetName.Remove(firstSheetName.Length - 1);
// END 

/* line 35 changed */ string sql = String.Format(&quot;SELECT * FROM [{0}$]&quot;, firstSheetName);
OleDbDataAdapter da = new OleDbDataAdapter(sql, con);

Regards
Pedro</description>
		<content:encoded><![CDATA[<p>Hi Zach, thank you for your post, it was very helpful. Let me just add one small contribution: in my scenario, the &#8220;first sheet&#8217;s name&#8221; is not predictible. I don&#8217;t want to ask the user to stick with a fixed name for the first sheet, so I suggest that after line #34 to include:</p>
<p>// START<br />
DataTable dtSheetName = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);<br />
firstSheetName = ((System.Data.DataRow)dtSheetName.Rows[0])["TABLE_NAME"].ToString();<br />
firstSheetName = firstSheetName.Remove(firstSheetName.Length &#8211; 1);<br />
// END </p>
<p>/* line 35 changed */ string sql = String.Format(&#8220;SELECT * FROM [{0}$]&#8220;, firstSheetName);<br />
OleDbDataAdapter da = new OleDbDataAdapter(sql, con);</p>
<p>Regards<br />
Pedro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Qu</title>
		<link>http://www.zachhunter.com/2010/05/read-xlsx-data-for-npoi/comment-page-1/#comment-37</link>
		<dc:creator>Tony Qu</dc:creator>
		<pubDate>Tue, 18 May 2010 09:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachhunter.com/?p=263#comment-37</guid>
		<description>ping back from http://npoi.codeplex.com/documentation. Thank you for your post!</description>
		<content:encoded><![CDATA[<p>ping back from <a href="http://npoi.codeplex.com/documentation" rel="nofollow">http://npoi.codeplex.com/documentation</a>. Thank you for your post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

