<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Coretan TK</title>
	<atom:link href="http://teddywijaya.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://teddywijaya.wordpress.com</link>
	<description>Just another scratch</description>
	<lastBuildDate>Wed, 21 Oct 2009 19:31:41 +0000</lastBuildDate>
	<language>id</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='teddywijaya.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Coretan TK</title>
		<link>http://teddywijaya.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://teddywijaya.wordpress.com/osd.xml" title="Coretan TK" />
	<atom:link rel='hub' href='http://teddywijaya.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Halte Busway Ujung</title>
		<link>http://teddywijaya.wordpress.com/2009/10/22/halte-busway-ujung/</link>
		<comments>http://teddywijaya.wordpress.com/2009/10/22/halte-busway-ujung/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 19:31:41 +0000</pubDate>
		<dc:creator>teddywijaya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Busway]]></category>
		<category><![CDATA[Transjakarta]]></category>

		<guid isPermaLink="false">http://teddywijaya.wordpress.com/2009/10/22/halte-busway-ujung/</guid>
		<description><![CDATA[Kalo naek busway alias transjakarta dan mau numpang bus yang arah balik karena di halte lagi rame, jangan keterusan sampe halte ujung karena bakalan disuruh turun dan harus beli tiket lagi kalo mau balik..So, turunnya paling jauh di halte sebelum halte ujung aja..Yang termasuk halte ujung: Blok-M, Kp-Rambutan, Ragunan, dll..Kalo halte transit kaya Harmoni ato [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=33&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kalo naek busway alias transjakarta dan mau numpang bus yang arah balik karena di halte lagi rame, jangan keterusan sampe halte ujung karena bakalan disuruh turun dan harus beli tiket lagi kalo mau balik..So, turunnya paling jauh di halte sebelum halte ujung aja..Yang termasuk halte ujung: Blok-M, Kp-Rambutan, Ragunan, dll..Kalo halte transit kaya Harmoni ato Dukuh Atas sih gpp..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/teddywijaya.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/teddywijaya.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/teddywijaya.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=33&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://teddywijaya.wordpress.com/2009/10/22/halte-busway-ujung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45d86dd70907e29a4325612b4972400?s=96&#38;d=identicon" medium="image">
			<media:title type="html">teddywijaya</media:title>
		</media:content>
	</item>
		<item>
		<title>Contoh Sederhana Menampilkan Isi Tabel Database SQL Server di MS Excel 2007 dengan Visual Studio 2008 C#</title>
		<link>http://teddywijaya.wordpress.com/2009/03/23/contoh-sederhana-menampilkan-isi-tabel-database-sql-server-di-ms-excel-2007-dengan-visual-studio-2008-c/</link>
		<comments>http://teddywijaya.wordpress.com/2009/03/23/contoh-sederhana-menampilkan-isi-tabel-database-sql-server-di-ms-excel-2007-dengan-visual-studio-2008-c/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 12:21:15 +0000</pubDate>
		<dc:creator>teddywijaya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://teddywijaya.wordpress.com/2009/03/23/contoh-sederhana-menampilkan-isi-tabel-database-sql-server-di-ms-excel-2007-dengan-visual-studio-2008-c/</guid>
		<description><![CDATA[Pertama-tama buat databasenya..Asumsi database sudah dibuat dengan database name &#8220;dbtest&#8221;, nama tabel &#8220;mhs&#8221;. Berikut ini ilustrasi data yang sudah dubuat. Buat Excel add-in project. Langkahnya sebagai berikut: Buka Visual Studio 2008 Pilih File -&#62; New -&#62; Project Di kotak Product Types, pilih Visual C#, kemudian pilih Office, kemudian pilih 2007 Di kotak Tamplate, pilih Excel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=7&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>
<div>Pertama-tama buat databasenya..Asumsi database sudah dibuat dengan database name &#8220;dbtest&#8221;, nama tabel &#8220;mhs&#8221;. Berikut ini ilustrasi data yang sudah dubuat.</div>
</li>
<div id="attachment_16" class="wp-caption alignnone" style="width: 254px"><a href="http://teddywijaya.files.wordpress.com/2009/03/data4.jpg"><img class="size-full wp-image-16" title="data4" src="http://teddywijaya.files.wordpress.com/2009/03/data4.jpg?w=480" alt="data"   /></a><p class="wp-caption-text">data</p></div>
<li>
<div>Buat Excel add-in project. Langkahnya sebagai berikut:</div>
<ol>
<li>Buka Visual Studio 2008</li>
<li>Pilih File -&gt; New -&gt; Project</li>
<li>Di kotak <strong>Product Types</strong>, pilih <strong>Visual C#</strong>, kemudian pilih <strong>Office, </strong>kemudian pilih<strong> 2007</strong></li>
<li>Di kotak <strong>Tamplate</strong>, pilih <strong>Excel 2007 Add-in</strong></li>
<li>Di dalam kotak <strong>nama</strong>, ketik <strong>ExcelAddIn1</strong></li>
<li>
<div>Klik <strong>Ok</strong></div>
</li>
</ol>
</li>
<li>Pada <strong>ThisAddIn</strong> class tambahkan kode berikut:</li>
<p>private void ThisAddIn_Startup(object sender, System.EventArgs e)<br />
{<br />
&nbsp;&nbsp;&nbsp;SqlDataReader reader = null;<br />
&nbsp;&nbsp;&nbsp;string myConnectionString = &quot;Data Source=.\\SQLEXPRESS;Initial Catalog=dbtest;Integrated Security=True;&quot;;<br />
&nbsp;&nbsp;&nbsp;SqlConnection myConnection = new SqlConnection(myConnectionString);<br />
&nbsp;&nbsp;&nbsp;string myInsertQuery = &quot;SELECT npm,nama FROM mhs&quot;;<br />
&nbsp;&nbsp;&nbsp;SqlCommand myCommand = new    SqlCommand(myInsertQuery);<br />
&nbsp;&nbsp;&nbsp;myCommand.Connection = myConnection;<br />
&nbsp;&nbsp;&nbsp;myConnection.Open();<br />
&nbsp;&nbsp;&nbsp;reader = myCommand.ExecuteReader();<br />
&nbsp;&nbsp;&nbsp;Excel.Worksheet activeWorksheet = ((Excel.Worksheet)Application.ActiveSheet);<br />
&nbsp;&nbsp;&nbsp;Excel.Range cellB1 = activeWorksheet.get_Range(&quot;B1&quot;, missing);<br />
&nbsp;&nbsp;&nbsp;cellB1.Value2 = &quot;NPM&quot;;<br />
&nbsp;&nbsp;&nbsp;cellB1.EntireColumn.ColumnWidth = 10;<br />
&nbsp;&nbsp;&nbsp;Excel.Range cellC1 = activeWorksheet.get_Range(&quot;C1&quot;, missing);<br />
&nbsp;&nbsp;&nbsp;cellC1.Value2 = &quot;Nama&quot;;<br />
&nbsp;&nbsp;&nbsp;//Mencetak isi table mhs ke excel dari cell B2<br />
&nbsp;&nbsp;&nbsp;int counter = 2; //Set awal baris<br />
&nbsp;&nbsp;&nbsp;while (reader.Read())<br />
&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cellB1.get_Offset(1, 0).Value2 = (String)reader[0];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cellC1.get_Offset(1, 0).Value2 = (String)reader[1];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;counter++;<br />
&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;myCommand.Connection.Close();<br />
}</p>
<li><span style="font-family:Courier New;font-size:10pt;">Tambahkan <span style="color:blue;">using</span> System.Data.SqlClient;</span></li>
<li>Run program dengan menekan tombol <strong>F5</strong></li>
<li>
<div>Beginilah hasilnya</div>
</li>
<p><div id="attachment_11" class="wp-caption alignnone" style="width: 301px"><a href="http://teddywijaya.files.wordpress.com/2009/03/hasil.jpg"><img class="size-full wp-image-11" title="hasil" src="http://teddywijaya.files.wordpress.com/2009/03/hasil.jpg?w=480" alt="hasil"   /></a><p class="wp-caption-text">hasil</p></div></ol>
<p>Selamat mencoba</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/teddywijaya.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/teddywijaya.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/teddywijaya.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=7&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://teddywijaya.wordpress.com/2009/03/23/contoh-sederhana-menampilkan-isi-tabel-database-sql-server-di-ms-excel-2007-dengan-visual-studio-2008-c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45d86dd70907e29a4325612b4972400?s=96&#38;d=identicon" medium="image">
			<media:title type="html">teddywijaya</media:title>
		</media:content>

		<media:content url="http://teddywijaya.files.wordpress.com/2009/03/data4.jpg" medium="image">
			<media:title type="html">data4</media:title>
		</media:content>

		<media:content url="http://teddywijaya.files.wordpress.com/2009/03/hasil.jpg" medium="image">
			<media:title type="html">hasil</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://teddywijaya.wordpress.com/2008/02/04/hello-world/</link>
		<comments>http://teddywijaya.wordpress.com/2008/02/04/hello-world/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 08:33:24 +0000</pubDate>
		<dc:creator>teddywijaya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Like Charles said &#8220;Semuanya berawal dari hello world…&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=1&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like <a href="http://charleschristian.wordpress.com">Charles</a> said &#8220;Semuanya berawal dari hello world…&#8221; <img src="http://charleschristian.wordpress.com/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/teddywijaya.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/teddywijaya.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/teddywijaya.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/teddywijaya.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/teddywijaya.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teddywijaya.wordpress.com&amp;blog=2735180&amp;post=1&amp;subd=teddywijaya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://teddywijaya.wordpress.com/2008/02/04/hello-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45d86dd70907e29a4325612b4972400?s=96&#38;d=identicon" medium="image">
			<media:title type="html">teddywijaya</media:title>
		</media:content>

		<media:content url="http://charleschristian.wordpress.com/wp-includes/images/smilies/icon_wink.gif" medium="image">
			<media:title type="html">;)</media:title>
		</media:content>
	</item>
	</channel>
</rss>
