<?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>TechnoBlogy &#187; exporting</title>
	<atom:link href="http://technoblogy.net/tag/exporting/feed/" rel="self" type="application/rss+xml" />
	<link>http://technoblogy.net</link>
	<description>Technology with a Big difference</description>
	<lastBuildDate>Mon, 05 Dec 2011 17:29:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Easy way to Export dataset in Excel</title>
		<link>http://technoblogy.net/easy-way-to-export-dataset-in-excel/</link>
		<comments>http://technoblogy.net/easy-way-to-export-dataset-in-excel/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 07:44:03 +0000</pubDate>
		<dc:creator>Nauman</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[dataset]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[exporting]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[response]]></category>
		<category><![CDATA[write]]></category>

		<guid isPermaLink="false">http://technoblogy.net/easy-way-to-export-dataset-in-excel/</guid>
		<description><![CDATA[Fastest way to export dataset in excel format is: DataSet dsExport = new DataSet(); System.IO.StringWriter tw = new System.IO.StringWriter(); HTMLTextWriter hw = new HTMLTextWriter(tw); DataGrid dg = new DataGrid(); dg.DataSource = &#34;Dataset to be exported&#34; hw.WriteLine (&#34;&#60;b&#62;&#60;font size=&#8217;3&#8242;&#62;Exported report&#60;/font&#62;&#60;/b&#62;&#34;); dg.DataBind(); Response.ContentType = &#34;application/vnd.ms-excel&#34;; EnableViewState = false; Response.Write(tw.ToString()); Response.End();]]></description>
			<content:encoded><![CDATA[<p>Fastest way to export dataset in excel format is:</p>
<blockquote><blockquote>
<p>DataSet dsExport = new DataSet();</p>
<p>System.IO.StringWriter tw = new System.IO.StringWriter();</p>
<p>HTMLTextWriter hw = new HTMLTextWriter(tw);</p>
<p>DataGrid dg = new DataGrid();</p>
<p>dg.DataSource = &quot;Dataset to be exported&quot;</p>
<p>hw.WriteLine (&quot;&lt;b&gt;&lt;font size=&#8217;3&#8242;&gt;Exported report&lt;/font&gt;&lt;/b&gt;&quot;);</p>
<p>dg.DataBind();</p>
<p>Response.ContentType = &quot;application/vnd.ms-excel&quot;;</p>
<p>EnableViewState = false;</p>
<p>Response.Write(tw.ToString());</p>
<p>Response.End();</p>
</blockquote>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://technoblogy.net/easy-way-to-export-dataset-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

