<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code for asp.net &#187; excel class file</title>
	<atom:link href="http://www.codeforasp.net/tag/excel-class-file/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codeforasp.net</link>
	<description>More about asp.net ajax silverlight MVC</description>
	<lastBuildDate>Tue, 02 Mar 2010 10:17:59 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Server.MapPath in Class file for Excel or MS-Access</title>
		<link>http://www.codeforasp.net/server-mappath-in-class-file-for-excel.html</link>
		<comments>http://www.codeforasp.net/server-mappath-in-class-file-for-excel.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 12:06:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[class file]]></category>
		<category><![CDATA[excel class file]]></category>
		<category><![CDATA[Server.MapPath]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=640</guid>
		<description><![CDATA[In App_Data Folder


 
string connectionString = &#8220;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&#8221; + System.Web.HttpContext.Current.Server.MapPath(&#8221;App_Data/DBMASTER_Jan2009.xls&#8221;) + &#8220;;Extended Properties=Excel 8.0;&#8221;; 
 
In Project


 
string connectionString = &#8220;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&#8221; + System.Web.HttpContext.Current.Server.MapPath(&#8221;DBMASTER_Jan_2009.xls&#8221;) + &#8220;;Extended Properties=Excel 8.0;&#8221;;
 
public DataSet SearchReportData()
{
OleDbConnection objConn = new OleDbConnection(connectionString);
//string query = &#8220;select * from [satya$] where Dist=&#8217;&#8221; + txtDistrict.Text.Trim() + &#8220;&#8216;&#8221;;
string query = &#8220;select * from [satya$] where SCNo=?&#8221;;
OleDbCommand [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/server-mappath-in-class-file-for-excel.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>data type mismatch in criteria expression. data type mismatch in criteria expression. oledb</title>
		<link>http://www.codeforasp.net/data-type-mismatch-in-criteria-expression-oledb.html</link>
		<comments>http://www.codeforasp.net/data-type-mismatch-in-criteria-expression-oledb.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:38:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[criteria expression]]></category>
		<category><![CDATA[data type]]></category>
		<category><![CDATA[excel class file]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=628</guid>
		<description><![CDATA[
Above Excel sheet contain
Dist column contain all cells with left alignment its datatype is string
SCNO column contain all cells with left alignment its datatype is string
ConnLoad column contains all cells with right alignment its datatype is digit type 
Here CDAMT contain all cells with right alignment tis datatype is digit type
digit type means (decimal or [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/data-type-mismatch-in-criteria-expression-oledb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
