<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5804371585207198815</atom:id><lastBuildDate>Mon, 23 Mar 2026 10:22:54 +0000</lastBuildDate><category>.Net Programming</category><category>ASP.Net</category><category>C#</category><category>Database</category><category>GridView</category><category>Dasar</category><category>Oracle</category><category>SQL Server</category><category>VB.Net</category><category>JQuery</category><category>MySQL</category><category>Ext.Net</category><category>No Label</category><category>Perkenalan</category><category>Windows Service</category><category>XML</category><title>Dunia Edi Prakoso</title><description>&lt;br&gt;&#xa;Pemrograman C# | ASP.Net | Visual Basic.Net &lt;br&gt;&#xa;Database SQL Server | Oracle | MySQL | PostgreSQl</description><link>http://duniaedi.blogspot.com/</link><managingEditor>noreply@blogger.com (Edi Prakoso)</managingEditor><generator>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-8071051559791448403</guid><pubDate>Fri, 03 Aug 2012 07:02:00 +0000</pubDate><atom:updated>2012-08-03T00:02:09.335-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">SQL Server</category><title>Mendapatkan Daftar Tabel SQL Server</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai apa kabar sobat edi? semog baik baik saja, kali ini &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;saya&lt;/a&gt; ingin sharing tentang &lt;b&gt;Bagaimana mendapatkan daftar tabel di sql server. &lt;/b&gt;Pada postingan &lt;a href=&quot;http://duniaedi.blogspot.com/2012/08/mendapatkan-daftar-procedure-sql-server.html&quot; target=&quot;_blank&quot;&gt;sebelumnya&lt;/a&gt;, saya sudah sharing tentang mendapatkan Procedure di SQL Server.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk mendapatkan semua tabel yang ada pada database di SQL Server adalah :&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;SELECT * FROM sys.tables&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hasil dari query diatas adalah :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTJ7kQtizFnHQ_ZJ1tqpJKXd_f8Kg9H7kL2uZUxrP_A6FLq9Sussh64DomXA3KFxB3UcOIy_l55Hp-T5m6ph50kgBRhvocy_nUHpXs5a8cpsPC8esahenE8HZljCt4PvruLfwm_SeXQWo/s1600/Gambar+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTJ7kQtizFnHQ_ZJ1tqpJKXd_f8Kg9H7kL2uZUxrP_A6FLq9Sussh64DomXA3KFxB3UcOIy_l55Hp-T5m6ph50kgBRhvocy_nUHpXs5a8cpsPC8esahenE8HZljCt4PvruLfwm_SeXQWo/s1600/Gambar+1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span id=&quot;goog_1420579619&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1420579620&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/08/mendapatkan-daftar-tabel-sql-server.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTJ7kQtizFnHQ_ZJ1tqpJKXd_f8Kg9H7kL2uZUxrP_A6FLq9Sussh64DomXA3KFxB3UcOIy_l55Hp-T5m6ph50kgBRhvocy_nUHpXs5a8cpsPC8esahenE8HZljCt4PvruLfwm_SeXQWo/s72-c/Gambar+1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-3590994202547268605</guid><pubDate>Thu, 02 Aug 2012 03:20:00 +0000</pubDate><atom:updated>2012-08-01T21:26:14.168-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">SQL Server</category><title>Mendapatkan Daftar Procedure SQL Server</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
Selamat Pagi, kali ini &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;saya&lt;/a&gt; ingin sharing tentang &lt;b&gt;Mendapatkan Daftar Procedure di SQL Server&lt;/b&gt;. SQL Server menempatkan semua data tentang procedure di sys.procedures.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jadi kalau kita ingin mendapatkan daftar procedure di SQL Server, maka kita bisa gunakan query :&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;SELECT * FROM sys.procedures &lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hasil dari query diatas adalah :&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6Hl1CJkWF9ZY35YyvOwYki85aj4LmqmLt17_-erbQJL2RAklfDZUvK4nNr3xDMVZ_KJVQq-PbwrxvMpAAdsZTOS1MjoKIhx8qc4sZ9AxuUelXhPWSB8xOoZT1iXc2i7hOIcMk-6Zi-I/s1600/Gambar+1+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6Hl1CJkWF9ZY35YyvOwYki85aj4LmqmLt17_-erbQJL2RAklfDZUvK4nNr3xDMVZ_KJVQq-PbwrxvMpAAdsZTOS1MjoKIhx8qc4sZ9AxuUelXhPWSB8xOoZT1iXc2i7hOIcMk-6Zi-I/s1600/Gambar+1+_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kenapa banyak sekali? Karena kita tidak memfilternya, jadi semua procedure yang ada (termasuk procedure milik SQL Server) tampil, untuk dapat menampilkan hanya procedure yang dibuat oleh kita, tambahkan filter :&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;SELECT * FROM sys.procedures WHERE LEFT(name,3) NOT IN (&#39;SP_&#39;,&#39;XP_&#39;,&#39;MS_&#39;)&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Hasil dari query diatas adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc8CbqXE5eB3QAXiwYYNzQlGIA2gHoYshpXsfHYVTZdF4Hch3VrhghESom1ImuEPKbNgn9BKy589cm1t5IyUFREW5NViDwUoVYmJsprdMap_8OagyN9X7JUifaUskxk5MykrqrXFJfqU8/s1600/Gambar+2+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc8CbqXE5eB3QAXiwYYNzQlGIA2gHoYshpXsfHYVTZdF4Hch3VrhghESom1ImuEPKbNgn9BKy589cm1t5IyUFREW5NViDwUoVYmJsprdMap_8OagyN9X7JUifaUskxk5MykrqrXFJfqU8/s1600/Gambar+2+_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/08/mendapatkan-daftar-procedure-sql-server.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6Hl1CJkWF9ZY35YyvOwYki85aj4LmqmLt17_-erbQJL2RAklfDZUvK4nNr3xDMVZ_KJVQq-PbwrxvMpAAdsZTOS1MjoKIhx8qc4sZ9AxuUelXhPWSB8xOoZT1iXc2i7hOIcMk-6Zi-I/s72-c/Gambar+1+_1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-2643292081552115930</guid><pubDate>Thu, 26 Jul 2012 06:49:00 +0000</pubDate><atom:updated>2012-07-25T23:51:04.081-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Service</category><title>Menjalankan Service Windows Manual Programatically</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsQ3jJSg41lwqgIHB6c-OgqLk6GYUMhzh25FGC5p3fqRzxzFBqRmnhih2EQ4A5996UR8yAbH-2nLOf-6cVYFVkL0Yu6EY0A0TmqW8NdmpDql4sQBcoFXW7ByuU0OTnecefc9JV6NkmCc/s1600/Batch.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsQ3jJSg41lwqgIHB6c-OgqLk6GYUMhzh25FGC5p3fqRzxzFBqRmnhih2EQ4A5996UR8yAbH-2nLOf-6cVYFVkL0Yu6EY0A0TmqW8NdmpDql4sQBcoFXW7ByuU0OTnecefc9JV6NkmCc/s200/Batch.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Semangat pagi sobat, kali ini saya ingin sharing tentang &lt;b&gt;Menjalankan Service Windows Manual secara Programatically&lt;/b&gt;. Kasus ini saya alami terutama akibat lamanya loading Windows saya, setelah saya lihat lihat di service, ternyata yang membuat berat adalah service service oracle yang dijalankan secara otomatis. Setelah saya ubah tipe servicenya menjadi manual, loading Windows saya jadi lebih cepat (sedikit sih, hehe). &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Permasalahan satu selesai, permasalahan baru muncul. Sekarang saya harus menjalankan satu per satu service oracle jika saya ingin menggunakan Oracle, cukup melelahkan juga (padahal cuma start 4 service, dasar pemalas!!!). Langkah langkah menjalankan service manual adalah :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Pergi ke Control Panel -&amp;gt; Administrative Tools -&amp;gt; Services&lt;/li&gt;
&lt;li&gt;Cari nama service yang akan dijalankan, klik kanan -&amp;gt; start atau pilih start di sebelah kiri nama service&lt;/li&gt;
&lt;li&gt;Lakukan juga pada service yang lain (atau kalau ada dependencynya, ya start dulu service yang jadi Dependencynya)&lt;/li&gt;
&lt;/ol&gt;
Semudah itu kalau kita ingin menjalankan service secara manual, tapi saya merasa kurang keren kalau cuma klik klik gitu, maka saya cari cara menjalankan service dengan script, caranya adalah :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buka Command Prompt, caranya bisa dengan pilih menu run lalu ketikkan cmd&lt;/li&gt;
&lt;li&gt;Ketikkan di Command Prompt :&lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;net start [nama service]
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Ganti nama service dengan nama service yang akan dijalankan, lalu tekan Enter&lt;/li&gt;
&lt;li&gt;Lakukan hal yang sama pada semua service yang akan dijalankan&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selesai deh cara yang lumayan keren untuk menjalankan service, tapi kalau setiap kali kita membutuhkan Oracle, lalu kita ketikkan Script net start, capek juga ya (benar benar pemalas!!!). Ada tidak cara yang lain?&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jawabannya ada, yaitu dengan mengumpulkan script script DOS diatas menjadi satu file bat, atau bisa juga disebut &lt;a href=&quot;http://en.wikipedia.org/wiki/Batch_file&quot; target=&quot;_blank&quot;&gt;Pemrograman Batch File&lt;/a&gt;. Dengan file bat ini, menjalankan service banyak pun tidak masalah, karena kita hanya mengeksekusi file bat itu, trus perinta perintah DOS didalamnya langsung dieksekusi otomatis deh. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cara mengumpulkan perintah perintah DOS adalah :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah file .bat dengan editor kesayangan sobat (notepad juga bisa kok)&lt;/li&gt;
&lt;li&gt;Lalu ketikkan perintah berikut ini :&lt;/li&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;@echo off
net start [nama service]
if ERRORLEVEL 1 goto error
exit
:error
echo There was a problem
pause
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Ganti nama service dengan nama service yang akan di jalankan&lt;/li&gt;
&lt;li&gt;Silahkan tambahkan service service apa yang dijalankan di file .bat itu&lt;/li&gt;
&lt;li&gt;Untuk Error apa saja yang mungkin didapat dari perintah net, listnya adalah : &lt;/li&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt; - 0 = Success
 - 1 = Not Supported
 - 2 = Access Denied
 - 3 = Dependent Services Running
 - 4 = Invalid Service Control
 - 5 = Service Cannot Accept Control
 - 6 = Service Not Active
 - 7 = Service Request Timeout
 - 8 = Unknown Failure
 - 9 = Path Not Found
 - 10 = Service Already Running
 - 11 = Service Database Locked
 - 12 = Service Dependency Deleted
 - 13 = Service Dependency Failure
 - 14 = Service Disabled
 - 15 = Service Logon Failure
 - 16 = Service Marked For Deletion
 - 17 = Service No Thread
 - 18 = Status Circular Dependency
 - 19 = Status Duplicate Name
 - 20 = Status Invalid Name
 - 21 = Status Invalid Parameter 
 - 22 = Status Invalid Service Account
 - 23 = Status Service Exists
 - 24 = Service Already Paused
&lt;/pre&gt;
&lt;/div&gt;
&lt;/ol&gt;
Sekarang, coba sobat jalankan file .bat yang sobat buat, dan rasakan magicnya. Hehe&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/menjalankan-service-windows-manual.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsQ3jJSg41lwqgIHB6c-OgqLk6GYUMhzh25FGC5p3fqRzxzFBqRmnhih2EQ4A5996UR8yAbH-2nLOf-6cVYFVkL0Yu6EY0A0TmqW8NdmpDql4sQBcoFXW7ByuU0OTnecefc9JV6NkmCc/s72-c/Batch.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-975006035062198457</guid><pubDate>Tue, 24 Jul 2012 09:27:00 +0000</pubDate><atom:updated>2012-07-25T23:53:01.382-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><title>Mengubah Title Web ASP.Net di Code Behind</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgrVgE221xHXUqflqzTCx1BA5IsaCRtSFp-UBY_1kTpeX4JumaYiwQYgB1js7pKkB_VBoFbODXQuYzIDJbheNlGLk-7TMoqTLSULRukHmxyKoH4IJJRgt9km0iwXMdjNmLnAj9gFiKW_A/s1600/Titles1+_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgrVgE221xHXUqflqzTCx1BA5IsaCRtSFp-UBY_1kTpeX4JumaYiwQYgB1js7pKkB_VBoFbODXQuYzIDJbheNlGLk-7TMoqTLSULRukHmxyKoH4IJJRgt9km0iwXMdjNmLnAj9gFiKW_A/s320/Titles1+_1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Selamat sore, sambil menunggu waktu berbuka puasa, saya ingin sharing tentang &lt;b&gt;Bagaimana mengubah title web di ASP.Net&lt;/b&gt;. Untuk dapat mengubah title, kita bisa merubahnya di Code Behind. yaitu dengan Cara :&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Page.Title = &quot;Title Website&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Atau, sobat juga bisa ubah di file aspx, pada bagian&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ Page Language=&quot;C#&quot; CodeBehind=&quot;WebForm1.aspx.cs&quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Tambahkan Title=&quot;Title Website&quot;, hasilnya jadi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ Page Language=&quot;C#&quot; CodeBehind=&quot;WebForm1.aspx.cs&quot; TItle=&quot;Title Website&quot;%&amp;gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/mengubah-title-web-aspnet-di-code-behind.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgrVgE221xHXUqflqzTCx1BA5IsaCRtSFp-UBY_1kTpeX4JumaYiwQYgB1js7pKkB_VBoFbODXQuYzIDJbheNlGLk-7TMoqTLSULRukHmxyKoH4IJJRgt9km0iwXMdjNmLnAj9gFiKW_A/s72-c/Titles1+_1.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-1323231567935186851</guid><pubDate>Mon, 23 Jul 2012 13:12:00 +0000</pubDate><atom:updated>2012-07-23T06:19:50.471-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">No Label</category><title>Hari ini bad mood banget</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-SQZdO582FEK19sW-tRv_0343_c6XUAEjL2QwKlU6WRqlGJqUHcCujNj7DkXlHFgzcE5n3OpSm8WfNDaYErCYJiUUnTKDljI7bCKYtKH6wpEgVtbmmC8i27W7l9xw4biP3CunRo51qK0/s1600/0716_bad-mood_392x392.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-SQZdO582FEK19sW-tRv_0343_c6XUAEjL2QwKlU6WRqlGJqUHcCujNj7DkXlHFgzcE5n3OpSm8WfNDaYErCYJiUUnTKDljI7bCKYtKH6wpEgVtbmmC8i27W7l9xw4biP3CunRo51qK0/s320/0716_bad-mood_392x392.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hufp, hari ini ga enak banget, kerja suntuk, mbaca berita males, loading lama, mau tidur ga bisa, hahh,, untung pulang gak macet.. hah,, sekarang tinggal pengen mandi aja males...&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/hari-ini-bad-mood-banget.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-SQZdO582FEK19sW-tRv_0343_c6XUAEjL2QwKlU6WRqlGJqUHcCujNj7DkXlHFgzcE5n3OpSm8WfNDaYErCYJiUUnTKDljI7bCKYtKH6wpEgVtbmmC8i27W7l9xw4biP3CunRo51qK0/s72-c/0716_bad-mood_392x392.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-399158127236926439</guid><pubDate>Sun, 22 Jul 2012 14:51:00 +0000</pubDate><atom:updated>2012-07-22T08:52:31.636-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><title>Lokasi Database File MySQL di Windows</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, saya ingin sharing pengalaman saya dengan mysql. Jadi, ceritanya saya ingin mencari dimana file database dari mysql yang terinstal di windows saya, tapi saya cari di lokasi saya menginstall mysql kemudian folder data, tidak ada. Ternyata, mysql menyediakan file my.ini untuk mengatur lokasi penyimpanan file databasenya. Lokasi file ini ada di lokasi sobat menginstall mysql, oh ya, mysql yang saya gunakan adalah mysql versi 5.5 dan windows 7.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Sekarang silahkan sobat buka file my.ini dengan editor favorit sobat, kemudia cari bagian :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOa4KjbskeAEgSVsWJ788cwtarCSaX0QL04hXRchohzOpipXfNwWiwVu7yS9nAxjCywyOeBsaAQ5nOaLABfq2UdDZdEwdbeoRU2rWcOCO-ZAPPRE8FHAAJrp0ZHtPRksKyYixZxhU2s5E/s1600/gambar1+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOa4KjbskeAEgSVsWJ788cwtarCSaX0QL04hXRchohzOpipXfNwWiwVu7yS9nAxjCywyOeBsaAQ5nOaLABfq2UdDZdEwdbeoRU2rWcOCO-ZAPPRE8FHAAJrp0ZHtPRksKyYixZxhU2s5E/s640/gambar1+_1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
basedir adalah lokasi file instalasi, dan yang saya cari adalah datadir, akhirnya ketemu juga. :)&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/lokasi-database-file-mysql-windows.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOa4KjbskeAEgSVsWJ788cwtarCSaX0QL04hXRchohzOpipXfNwWiwVu7yS9nAxjCywyOeBsaAQ5nOaLABfq2UdDZdEwdbeoRU2rWcOCO-ZAPPRE8FHAAJrp0ZHtPRksKyYixZxhU2s5E/s72-c/gambar1+_1.png" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-2729741074065325714</guid><pubDate>Sun, 22 Jul 2012 06:03:00 +0000</pubDate><atom:updated>2012-07-25T23:20:56.711-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><category domain="http://www.blogger.com/atom/ns#">XML</category><title>Binding GridView ASP.Net dengan File XML</title><description>Selamat siang sobat, kali ini saya ingin sharing tentang bagaimana caranya &lt;b&gt;Binding GridView ASP.Net dengan File XML&lt;/b&gt;. Binding GridView dengan File XML sangat mudah di pemrograman .net, hal ini karena GridView mendukung berbagai format data yang digunakan untuk sourcenya.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;




















&lt;u&gt;PERSIAPAN&lt;/u&gt;&lt;/h3&gt;
Untuk praktikum kali ini, saya menggunakan IDE &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;, dan untuk file XMLnya saya menggunakan mahasiswa.xml, yang isinya adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;table name=&quot;mahasiswa&quot;&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;001&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Andi&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Jakarta&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;002&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Ani&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Jakarta&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;003&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Ari&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Bandung&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;004&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Budi&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Bogor&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;005&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Fauzi&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Cirebon&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;006&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Diana&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Surabaya&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;007&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Indah&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Yogyakarta&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;008&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Rofid&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Semarang&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;009&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Wahyu&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Semarang&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;010&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Rendra&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Bandung&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;NIM&amp;gt;011&amp;lt;/NIM&amp;gt;
  &amp;lt;NAMA&amp;gt;Edi&amp;lt;/NAMA&amp;gt;
  &amp;lt;ASAL&amp;gt;Tegal&amp;lt;/ASAL&amp;gt;
 &amp;lt;/row&amp;gt;
&amp;lt;/table&amp;gt;

&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;

















&amp;nbsp;&lt;u&gt;PRAKTIKUM&lt;/u&gt;&lt;/h3&gt;
Langkah langkah pembuatan &lt;b&gt;Gridview dengan XML &lt;/b&gt;adalah :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buat Sebuah GridView, beri nama dengan GridView1&lt;/li&gt;
&lt;li&gt;Buat tiga buah bound field, dengan masing masing properti DataField NIM,NAMA,ASAL, Source dari GridViewnya adalah :&lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;&amp;lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; 
    Width=&quot;259px&quot;&amp;gt;
    &amp;lt;Columns&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;nim&quot; HeaderText=&quot;NIM&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;nama&quot; HeaderText=&quot;Nama&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;asal&quot; HeaderText=&quot;Asal&quot; /&amp;gt;
    &amp;lt;/Columns&amp;gt;
&amp;lt;/asp:GridView&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;Tambahkan File mahasiswa.xml yang sudah dibuat, dengan cara Pilih menu Project &amp;gt; Add Existing Item, kemudian ubah property Copy to Output Directory milik mahasiswa.xml menjadi Copy if newer &lt;/li&gt;
&lt;li&gt;Pada Code Behind, buat sebuah method BindGridView, ketikkan source berikut ini : &lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;void BindGridView()
{
    DataSet dt = new DataSet();
    String rootPath = Server.MapPath(&quot;mahasiswa.xml&quot;);
    dt.ReadXml(rootPath);
    GridView1.DataSource = dt.Tables[1];
    GridView1.DataBind();
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;Panggil method BindGridView di Page_Load&lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    BindGridView();
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;Jalankan Project dengan tekan F5&lt;/li&gt;
&lt;/ol&gt;
Hasil dari praktikumnya adalah :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGWjnrjgyZF_1GnUHhj6e7ohuo9kGhBr8hPes4U5Nv3g-3Vm7dJ47zvIFZlfA9YzyU2IiqsU6DJlzc1NhAiSNlIvu_43chNHzDTGJF_UrZPR5PO3awycz13wWBoniD3dbWbFInqxbdoHM/s1600/hasil+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGWjnrjgyZF_1GnUHhj6e7ohuo9kGhBr8hPes4U5Nv3g-3Vm7dJ47zvIFZlfA9YzyU2IiqsU6DJlzc1NhAiSNlIvu_43chNHzDTGJF_UrZPR5PO3awycz13wWBoniD3dbWbFInqxbdoHM/s1600/hasil+_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Project yang digunakan dalam praktikum kali ini, bisa sobat download di &lt;a href=&quot;http://adf.ly/AzTA4&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-aspnet-dengan-file-xml.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGWjnrjgyZF_1GnUHhj6e7ohuo9kGhBr8hPes4U5Nv3g-3Vm7dJ47zvIFZlfA9YzyU2IiqsU6DJlzc1NhAiSNlIvu_43chNHzDTGJF_UrZPR5PO3awycz13wWBoniD3dbWbFInqxbdoHM/s72-c/hasil+_1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-5919495559921455178</guid><pubDate>Fri, 20 Jul 2012 22:40:00 +0000</pubDate><atom:updated>2012-07-25T23:23:10.717-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">VB.Net</category><title>Binding DataGridView dengan MySQL di VB.Net</title><description>&lt;style type=&quot;text/css&quot;&gt;
table {
background-color:#F2F2F5;
border-width:1px 1px 0px 1px;
border-color:#C9CBD3;
border-style:solid;
}
td {
color:#000000;
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
background-color:#EAEFF5;
padding:4px;
background-color:#F2F2F5;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid solid;
border-width:1px 0px 1px 0px;
}
th {
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
padding:4px;
background-color:#CFE0F1;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid none;
border-width:1px 0px 1px 0px;
white-space:nowrap;
}
&lt;/style&gt;

&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selamat Pagi Sobat, Selamat Berpuasa ya bagi yang menjalankannya. Di hari pertama puasa ini, &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt; ingin sharing tentang &lt;b&gt;Binding DataGridView dengan MySQL di Visual Basic.Net&lt;/b&gt;. Pemrograman .Net mempunyai sebuah kontrol bernama GridView, yang mana dapat menampilkan data secara tabular, dari berbagai macam sumber data, semisal database, Collection, XML, dan lainnya.&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;












&lt;u&gt;PERSIAPAN&lt;/u&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk praktikum kali ini, tool yang saya gunakan adalah Visual Studio 2010 dan MySQL&lt;u&gt; &lt;/u&gt;5.5. Sebelum mulai praktikumnya, silahkan sobat buat dulu tabel mahasiswa yang digunakan dalam praktikum, tabelnya adalah :&lt;/div&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt; &lt;th&gt;Column Name&lt;/th&gt;
 &lt;th&gt;Data Type&lt;/th&gt;
 &lt;th&gt;Nullable&lt;/th&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;tbody id=&quot;data&quot;&gt;
&lt;tr&gt;
&lt;td&gt;NIM&lt;/td&gt;
&lt;td&gt;VARCHAR2(20)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;

 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nama&lt;/td&gt;
&lt;td&gt;VARCHAR2(20)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Asal&lt;/td&gt;
&lt;td&gt;VARCHAR2(20)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3&gt;







&lt;u&gt;PRAKTIKUM&lt;/u&gt;&lt;/h3&gt;
Untuk praktikum kali ini, lakukan langkah langkah berikut ini :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah project Windows Form Application Visual Basic.Net&lt;/li&gt;
&lt;li&gt;Tambahkan Sebuah DataGridView&lt;/li&gt;
&lt;li&gt;Tambahkan Imports MySql.Data.MySqlClient pada bagian paling atas script. &lt;/li&gt;
&lt;li&gt;Ketikkan script berikut ini di Form Load&lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 Dim conn As New MySqlConnection(&quot;server=localhost;User Id=user;;password=password;port=3307;database=databasemu&quot;)
 conn.Open()
 Dim table As New DataTable()
 Dim adapter As New MySqlDataAdapter(&quot;SELECT * FROM mahasiswa&quot;, conn)
 adapter.Fill(table)
 DataGridView1.DataSource = table
 DataGridView1.Refresh()
End Sub
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
* ganti user, password, dan database sesuai dengan punya sobat
&lt;li&gt;Silahkan sobat run projectnya dengan Tekan F5&lt;/li&gt;
&lt;/ol&gt;
Selesai sobat, hasilnya akan seperti ini :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljSFn5rjroMkomCUdwYH6-eJvqtUaayIsa9BtBU2UZ5Z-cX1Mf5JCLCKOAtS6izq8ceCU0gqutCHACW6B_0rTrrEd0obT1eH7AZxrh1nmKWHN7CWCa6h0xM8WbXirtsp14EARgwA5b2g/s1600/hasil+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljSFn5rjroMkomCUdwYH6-eJvqtUaayIsa9BtBU2UZ5Z-cX1Mf5JCLCKOAtS6izq8ceCU0gqutCHACW6B_0rTrrEd0obT1eH7AZxrh1nmKWHN7CWCa6h0xM8WbXirtsp14EARgwA5b2g/s400/hasil+_1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Project yang dipakai dalam praktikum kali ini bisa sobat download di &lt;a href=&quot;http://adf.ly/Ay2li&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-datagridview-dengan-mysql-vbnet.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljSFn5rjroMkomCUdwYH6-eJvqtUaayIsa9BtBU2UZ5Z-cX1Mf5JCLCKOAtS6izq8ceCU0gqutCHACW6B_0rTrrEd0obT1eH7AZxrh1nmKWHN7CWCa6h0xM8WbXirtsp14EARgwA5b2g/s72-c/hasil+_1.png" height="72" width="72"/><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-2604109544142235108</guid><pubDate>Fri, 20 Jul 2012 14:41:00 +0000</pubDate><atom:updated>2012-07-20T07:48:38.227-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Dasar</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>TO_DATE dan TO_CHAR di Oracle</title><description>Hai Sobat, masih semangat buat belajar? Masih dong, nah sekarang saya ingin sharing tentang &lt;b&gt;TO_DATE dan TO_CHAR di Oracle&lt;/b&gt;. Di Oracle, terdapat fungsi untuk mengconvert DateTime ke Char, maupun Char ke DateTime.&lt;br /&gt;
&lt;br /&gt;
Syntax dasar TO_DATE adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;TO_DATE(string,format);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Syntax dasar TO_CHAR adalah :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;TO_CHAR(datetime,format);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;u&gt;PERSIAPAN&lt;/u&gt;&lt;/h3&gt;
Tool yang saya gunakan dalam praktikum kali ini adalah Oracle 11g.&lt;br /&gt;
&lt;h3&gt;
&lt;br /&gt;&lt;u&gt;PRAKTIKUM&lt;/u&gt;&lt;/h3&gt;
Untuk Praktikum kali ini, pertama kita coba dulu syntax to_date, data tanggalnya bisa kita ambil dari sysdate (tanggal system di oracle). Ketikkan di Oracle :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SELECT TO_DATE(&#39;2012-12-01&#39;,&#39;YYYY-MM-DD&#39;) FROM dual&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Hasil dari query yang baru sobat ketik adalah :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg00T76RXCygTqywskf1QbS-iBG9DkZ0d6hWkpl1VTTgbmm3V_9RZFt4kTh0zsZLxz6L-UoKplhTyiQwAZOXkbXZiilDRqZkLYy8q7pK6IIC6RUkSriTFzRfNF77oigt1Wa7YB2O3jTwHs/s1600/to_date.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg00T76RXCygTqywskf1QbS-iBG9DkZ0d6hWkpl1VTTgbmm3V_9RZFt4kTh0zsZLxz6L-UoKplhTyiQwAZOXkbXZiilDRqZkLYy8q7pK6IIC6RUkSriTFzRfNF77oigt1Wa7YB2O3jTwHs/s1600/to_date.png&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Nah untuk to_char, ketikkan syntax berikut ini di Oracle sobat.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SELECT TO_CHAR(sysdate,&#39;YYYY-MM-DD&#39;) FROM dual&lt;/span&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Hasil dari query diatas adalah :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjipZafDaiVacI82k4BQP-uCDPLoX7PRkJaweyZnUDKExnfrwF80QoIAdRzzDA3d_9SrvElvVPZVZ1opQBCx2Q4665SwnpiGNpPLqXawUe9D1nL2DN8jy4CdQ8fetDkcXXULlFa66_7cek/s1600/to_char.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjipZafDaiVacI82k4BQP-uCDPLoX7PRkJaweyZnUDKExnfrwF80QoIAdRzzDA3d_9SrvElvVPZVZ1opQBCx2Q4665SwnpiGNpPLqXawUe9D1nL2DN8jy4CdQ8fetDkcXXULlFa66_7cek/s1600/to_char.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Nah sobat, bagaimana? Sudah paham kan? &lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/todate-dan-tochar-di-oracle.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg00T76RXCygTqywskf1QbS-iBG9DkZ0d6hWkpl1VTTgbmm3V_9RZFt4kTh0zsZLxz6L-UoKplhTyiQwAZOXkbXZiilDRqZkLYy8q7pK6IIC6RUkSriTFzRfNF77oigt1Wa7YB2O3jTwHs/s72-c/to_date.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-8168468652918348912</guid><pubDate>Thu, 19 Jul 2012 08:21:00 +0000</pubDate><atom:updated>2012-07-25T23:24:19.548-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Convert DateTime ke String di Oracle</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bertemu lagi dengan dunia edi, kali ini saya ingin sharing pengalaman saya bekerja dengan oracle. Jika sobat ingin convert type datetime ke string, sobat bisa manggunakan query berikut ini&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
to_char(field_datetime,format)
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;Sebagai contoh, saya akan menyeleksi sysdate kemudian mengkonvert menjadi format DD/MM/YYYY. Scriptnya adalah :&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
SELECT to_char(SYSDATE,&#39;DD/MM/YYYY&#39;) FROM dual
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Hasil dari query diatas adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGh3v_kVpOSU1vQ9XXo3yjH0kA4tB9vRwwFgnLBgbfCdx_JexmxVQfQHm3d7wsMr1HG1RE6ZehDGCxij15o_hXqAZ_VXKrW5RLXCDLrxT_0nOESJvBuqwaMHlE3w3ok9DpaRtnX70ciw0/s1600/to_char+Oracle.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;62&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGh3v_kVpOSU1vQ9XXo3yjH0kA4tB9vRwwFgnLBgbfCdx_JexmxVQfQHm3d7wsMr1HG1RE6ZehDGCxij15o_hXqAZ_VXKrW5RLXCDLrxT_0nOESJvBuqwaMHlE3w3ok9DpaRtnX70ciw0/s320/to_char+Oracle.png&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/convert-datetime-ke-string-di-oracle.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGh3v_kVpOSU1vQ9XXo3yjH0kA4tB9vRwwFgnLBgbfCdx_JexmxVQfQHm3d7wsMr1HG1RE6ZehDGCxij15o_hXqAZ_VXKrW5RLXCDLrxT_0nOESJvBuqwaMHlE3w3ok9DpaRtnX70ciw0/s72-c/to_char+Oracle.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-6916664873292225780</guid><pubDate>Wed, 18 Jul 2012 15:41:00 +0000</pubDate><atom:updated>2012-07-25T23:26:56.542-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">Dasar</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><category domain="http://www.blogger.com/atom/ns#">SQL Server</category><title>Tutorial ASP.Net dengan GridView : Binding GridView dengan SQL Server Part 2</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s1600/ASP_NET-logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s200/ASP_NET-logo.gif&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Hai Sobat, bertemu lagi dengan dunia edi, kalau pada sharing &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-sql-server.html&quot; target=&quot;_blank&quot;&gt;sebelumnya&lt;/a&gt;, saya sudah mencoba &lt;b&gt;Binding GridView dengan SQLDataSource, &lt;/b&gt;kali ini saya ingin &lt;b&gt;Binding Gridview dengan SQL Server &lt;/b&gt;di Code Behind (saya biasanya menggunakan C# ya sobat). Nah untuk itu, mari kita buat projectnya.&amp;nbsp;&lt;/div&gt;
&lt;h3&gt;



















&lt;u&gt;PERSIAPAN&lt;/u&gt;&lt;/h3&gt;
Untuk persiapa praktikum kali ini, sama dengan persiapan di &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-sql-server.html&quot; target=&quot;_blank&quot;&gt;sharing ini&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;h3&gt;



















&lt;u&gt;PRAKTIKUM&lt;/u&gt;&lt;/h3&gt;
Kita mulai praktikumnya ya, langkah langkahnya adalah :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buat project ASP.Net Web Application dengan code behind C#&lt;/li&gt;
&lt;li&gt;Buat sebuah web form kemudian tambahkan sebuah GridView pada web form itu&lt;/li&gt;
&lt;li&gt;Ganti source code grid view dengan code berikut ini&lt;/li&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;&amp;lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; 
    DataKeyNames=&quot;NIM&quot; DataSourceID=&quot;SqlDataSource1&quot;&amp;gt;
    &amp;lt;Columns&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;NIM&quot; HeaderText=&quot;NIM&quot; ReadOnly=&quot;True&quot; 
            SortExpression=&quot;NIM&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Nama&quot; HeaderText=&quot;Nama&quot; SortExpression=&quot;Nama&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Alamat&quot; HeaderText=&quot;Alamat&quot; 
            SortExpression=&quot;Alamat&quot; /&amp;gt;
    &amp;lt;/Columns&amp;gt;
&amp;lt;/asp:GridView&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Tambahkan namespace &lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;using System.Data.SqlClient;
using System.Data;
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Sekarang pada C# nya buat sebuah method BindGridView &lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;void BindGridView()
{
    SqlConnection conn=new SqlConnection(@&quot;Data Source=pc\sqlserver2008;Initial Catalog=Mahasiswa;Integrated Security=True&quot;);
    conn.Open();
    DataTable table=new DataTable();
    SqlCommand cmd=new SqlCommand(&quot;SELECT * FROM mahasiwa&quot;,conn);
    SqlDataAdapter adapter=new SqlDataAdapter(cmd);
    adapter.Fill(table);
    GridView1.DataSource = table;
    GridView1.DataBind();
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Pada method Page_Load, tambahkan &lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    BindGridView();
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;Jalankan project (Tekan F5)&lt;/li&gt;
&lt;/ol&gt;
Nah, bagaimana sobat? mudah kan?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #e36c0a; color: white; font-size: 24px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://adf.ly/ArXVp&quot;&gt;Download Code&lt;/a&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-sql-server-part2.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s72-c/ASP_NET-logo.gif" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-2431929204479850569</guid><pubDate>Tue, 17 Jul 2012 23:56:00 +0000</pubDate><atom:updated>2012-07-25T23:27:31.242-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">Dasar</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><category domain="http://www.blogger.com/atom/ns#">SQL Server</category><title>Tutorial ASP.Net dan Gridview : Binding GridView dengan SQL Server</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bertemu lagi dengan &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt;, sekarang saya ingin sharing tentang &lt;b&gt;Binding GridView dengan SQL Server. &lt;/b&gt;Seperti kita ketahui, GridView adalah kontrol ASP.Net untuk menampilkan data. GridView dapat menampilkan data dari database, dari XMl, dari Array (seperti contoh &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/binding-gridview-aspnet-dengan-array-1.html&quot; target=&quot;_blank&quot;&gt;disini&lt;/a&gt;).&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dalam sharing kali ini, tool yang saya gunakan adalah :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/search/label/SQL%20Server&quot; target=&quot;_blank&quot;&gt;SQL Server 2008&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;



&lt;u&gt;PERSIAPAN&lt;/u&gt;&lt;/h3&gt;
Sebelum memulai praktikum, kita siapkan dulu tabel yang akan kita binding dengan gridview. Silahkan sobat buat tabel di SQL Server dengan nama mahasiswa, field field yang ada di tabel mahasiswa adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #E36C0A; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 159.6pt;&quot; valign=&quot;top&quot; width=&quot;213&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Column Name&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E36C0A; border-left: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 174.3pt;&quot; valign=&quot;top&quot; width=&quot;232&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Data Type&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E36C0A; border-left: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Allow Nulls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: white; font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 159.6pt;&quot; valign=&quot;top&quot; width=&quot;213&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;NIM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 174.3pt;&quot; valign=&quot;top&quot; width=&quot;232&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
varchar(20)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 159.6pt;&quot; valign=&quot;top&quot; width=&quot;213&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Nama&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 174.3pt;&quot; valign=&quot;top&quot; width=&quot;232&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;varchar(40)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 159.6pt;&quot; valign=&quot;top&quot; width=&quot;213&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
Alamat&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 174.3pt;&quot; valign=&quot;top&quot; width=&quot;232&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Varchar(50)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;Yes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3&gt;







&lt;u&gt;PRAKTIKUM&lt;/u&gt; &lt;/h3&gt;
Ok, sekarang kita mulai praktikumnya, langkah langkahnya adalah :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah project &lt;a href=&quot;http://duniaedi.blogspot.com/search/label/ASP.Net&quot; target=&quot;_blank&quot;&gt;ASP.Net Web Application&lt;/a&gt;, lalu buat sebuah Web Form&lt;/li&gt;
&lt;li&gt;Tambahkan sebuah &lt;a href=&quot;http://duniaedi.blogspot.com/search/label/GridView&quot; target=&quot;_blank&quot;&gt;GridView &lt;/a&gt;kedapam web form&lt;/li&gt;
&lt;li&gt;Tampilkan GridView Task dari grid view yang baru saja ditambahkan, kurang lebih tampilannya seperti berikut ini :&lt;/li&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitB0C3M4wPK4i6GpUUV2WX8rL0gmHbwPXJPtQtPzZXkzPksWNk5adM6HELh6CO0h1tI7nVpLLRbcGQD2cqJGuqozRZ1pW6t-4sbNzmwNsmaZCpBGWk9E2dy5Fghli2KDhLB6QTxGRyr9s/s1600/gambar+1+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitB0C3M4wPK4i6GpUUV2WX8rL0gmHbwPXJPtQtPzZXkzPksWNk5adM6HELh6CO0h1tI7nVpLLRbcGQD2cqJGuqozRZ1pW6t-4sbNzmwNsmaZCpBGWk9E2dy5Fghli2KDhLB6QTxGRyr9s/s400/gambar+1+_1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Pada bagian Choose Data Source, pilih New Data Source, lalu akan tampil window DataSource Configuration Wizard, seperti gambar dibawah ini&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimCf6vWbYRfLPaYiWz4FU0YjtXyt4Is2DAbJvuVXgDVh9jP_KE6eOBD_T3C472oAsZ_NJdlZFla0O-KcfCXH9zZ-EBEUIap_ew8a-IoVKDwyc35_vx_34XfHU_q868IL4JuD5IHBW-E-c/s1600/gambar2+_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimCf6vWbYRfLPaYiWz4FU0YjtXyt4Is2DAbJvuVXgDVh9jP_KE6eOBD_T3C472oAsZ_NJdlZFla0O-KcfCXH9zZ-EBEUIap_ew8a-IoVKDwyc35_vx_34XfHU_q868IL4JuD5IHBW-E-c/s400/gambar2+_1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Pilih Database, Lalu Pilih Connection String mu atau pilih New Connection&lt;/li&gt;
&lt;li&gt;Pada dialog Save the Connection String to the Application Configuration File, uncentang checkbox yang ada (kita tidak ingin menyimpan connection string ke web.config)&lt;/li&gt;
&lt;li&gt;Pilih table yang akan di Binding dengan GridView (tabel yang digunakan di sharing kali ini adalah tabel mahasiswa). Untuk column, silahkan pilih column yang akan ditampilkan di GridView.&lt;/li&gt;
&lt;li&gt;Kemudian klik finish untuk membinding GridView dengan SqlDataSource. Berikut ini adalah tampilan source pada gridview yang sudah jadi.&lt;/li&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;&amp;lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; 
    DataKeyNames=&quot;NIM&quot; DataSourceID=&quot;SqlDataSource1&quot;&amp;gt;
    &amp;lt;Columns&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;NIM&quot; HeaderText=&quot;NIM&quot; ReadOnly=&quot;True&quot; 
            SortExpression=&quot;NIM&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Nama&quot; HeaderText=&quot;Nama&quot; SortExpression=&quot;Nama&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Alamat&quot; HeaderText=&quot;Alamat&quot; 
            SortExpression=&quot;Alamat&quot; /&amp;gt;
    &amp;lt;/Columns&amp;gt;
&amp;lt;/asp:GridView&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;Sekarang silahkan jalankan project yang dibuat (tekan F5)&lt;/li&gt;
&lt;/ol&gt;
Nah, gampang kan membinding gridview dengan database. :) &lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-sql-server.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitB0C3M4wPK4i6GpUUV2WX8rL0gmHbwPXJPtQtPzZXkzPksWNk5adM6HELh6CO0h1tI7nVpLLRbcGQD2cqJGuqozRZ1pW6t-4sbNzmwNsmaZCpBGWk9E2dy5Fghli2KDhLB6QTxGRyr9s/s72-c/gambar+1+_1.png" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-3267311293474155668</guid><pubDate>Tue, 17 Jul 2012 08:07:00 +0000</pubDate><atom:updated>2012-07-25T23:29:25.884-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><title>Tutorial ASP.Net dan GridView : Binding Gridview dengan Array Part 2</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s1600/ASP_NET-logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s200/ASP_NET-logo.gif&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2&gt;





&lt;/h2&gt;
Hai Sobat, bertemu lagi dengan &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt;, kali ini sya ingin sharing tentan &lt;b&gt;Binding Array dengan Gridview.&lt;/b&gt; Pada sharing &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/binding-gridview-aspnet-dengan-array-1.html&quot; target=&quot;_blank&quot;&gt;sebelumnya&lt;/a&gt;, saya telah sharing tentang binding array satu dimensi dengan gridview, nah sekarang saya ingin membinding array 2 dimensi dengan gridview.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Array 2 dimensi adalah array yang mempunyai kolom dan baris, sehingga membentuk matrix. Pemrograman .Net memperbolehkan binding GridView dengan berbagai macam objek, salah satunya adalah array.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Tool yang saya gunakan kali ini adalah &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;visual studio 2010&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;

















&lt;u&gt;Praktikum &lt;/u&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk Praktium kali ini, lakukan langkah langkah berikut ini :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Buat Sebuah project ASP.Net Web Application&lt;/li&gt;
&lt;li&gt;Beri nama GridViewArray2&lt;/li&gt;
&lt;li&gt;Buat sebuah Web Form dengan nama WebForm1.aspx&lt;/li&gt;
&lt;li&gt;Tambahkan sebuah GridView ke WebForm1.aspx (GridView bisa ditemukan pada ToolBox Data), biarkan saja IDnya GridView1.&lt;/li&gt;
&lt;li&gt;Setting Property AutoGeneratedColumns di GridView1 menjadi false.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Ketikkan Script Gridview (di WebForm1.aspx) Seperti Berikut ini : 
&lt;br /&gt;&lt;br /&gt; 
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;&amp;lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot;&amp;gt;
    &amp;lt;Columns&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Text&quot; HeaderText=&quot;Nama&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;Value&quot; HeaderText=&quot;Alamat&quot; /&amp;gt;
    &amp;lt;/Columns&amp;gt;
&amp;lt;/asp:GridView&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Sekarang kita pindah ke Code Behindnya (Tekan F7 atau pilih menu View-Code)&lt;/li&gt;
&lt;li&gt;Pada bagian using namespace (bagian paling atas) ketikan :&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;using System.Collections;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;br /&gt;
&lt;li&gt;Pada Code Behind, didalam Method Page_Load, ketikkan script berikut ini&amp;nbsp;
&lt;div style=&quot;background-color: #eee9e9;&quot;&gt;
&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    string[,] arr = {

            { &quot;Edi&quot;, &quot;Tegal&quot; },

            { &quot;Ida&quot;, &quot;Klaten&quot; },

            { &quot;Dunia&quot;, &quot;Jakarta&quot; },

            { &quot;Thomas&quot;, &quot;Medan&quot;}

            };

    ArrayList arrList = new ArrayList();

    for (int i = 0; i &amp;lt; 4; i++)
    {

        arrList.Add(new ListItem(arr[i, 0], arr[i, 1]));

    }

    GridView1.DataSource = arrList;

    GridView1.DataBind();
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Nah, sekarang bisa sobat run Projectnya (Tekan F5)&lt;/li&gt;
&lt;/ol&gt;
Jika sobat ingin mendownload source code yang digunakan dalam praktikum kali ini, bisa di download di &lt;a href=&quot;http://adf.ly/Ap9OQ&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt; &lt;br /&gt;
&lt;ol&gt;
&lt;br /&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-array-part-2.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s72-c/ASP_NET-logo.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-1759202325174657172</guid><pubDate>Mon, 16 Jul 2012 14:54:00 +0000</pubDate><atom:updated>2012-07-17T06:53:56.692-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Dasar</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><category domain="http://www.blogger.com/atom/ns#">VB.Net</category><title>Tutorial .Net dan Oracle : Cara Koneksi Database Oracle di Pemrograman .Net</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bertemu lagi dengan dunia edi, sekarang saya
ingin sharing tentang &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;menggunakan
database oracle di pemrograman .Net&lt;/b&gt;. Sebelum melanjutkan sharing kali ini,
dunia edi ingin sobat membaca artikel &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;String
Koneksi Oracle di Pemrograman .Net&lt;/b&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Setelah membacanya, ayo kita lanjutkan praktikum kita, he3x.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;MsoNormal&quot;&gt;









&lt;u&gt;Persiapan &lt;/u&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Tool yang digunakan dalam praktikum kali ini adalah :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Oracle 11g&lt;/li&gt;
&lt;li&gt;ODP.Net ( bisa&amp;nbsp;
download di website Oracle), extract lalu cari file Oracle.DataAccess.dll&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 class=&quot;MsoNormal&quot;&gt;









&lt;u&gt;Praktikum&lt;/u&gt;&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRHXbDjUxGRCsL7HAu2DQYvh9m8sUN_wFn0s0-9N_YLPi59jEGEDONhZtJkR4-vGRhgaH0_rpEmeP6uAGokHAlsteglz8cL5MdAVEvDA1nFQvzDzfeEEYEUzOSiLSDnp021ACy-VHwX0Y/s1600/Gambar+2+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah project berbasis C#,
pilih Console Application, beri nama project dengan ConsoleOracle &lt;/li&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBg6VMtycsDqPSXo10mfsvuYQd9YK-EYAb019CB-jo4IcmM4NgNRMZr69gZ58VYd2pF0koFbFNWLA_fIw-IFbmkaLxjOcuPnA8bG5bouMRkrdYT_3roWmtS0zORwXT5NG3zu-PLqQ_og/s1600/Gambar+1+_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBg6VMtycsDqPSXo10mfsvuYQd9YK-EYAb019CB-jo4IcmM4NgNRMZr69gZ58VYd2pF0koFbFNWLA_fIw-IFbmkaLxjOcuPnA8bG5bouMRkrdYT_3roWmtS0zORwXT5NG3zu-PLqQ_og/s400/Gambar+1+_1.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Pada Solution Explorer, klik kanan
Projetc ConsoleOracle lalu Pilih Add reference&lt;/li&gt;
&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRHXbDjUxGRCsL7HAu2DQYvh9m8sUN_wFn0s0-9N_YLPi59jEGEDONhZtJkR4-vGRhgaH0_rpEmeP6uAGokHAlsteglz8cL5MdAVEvDA1nFQvzDzfeEEYEUzOSiLSDnp021ACy-VHwX0Y/s1600/Gambar+2+_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRHXbDjUxGRCsL7HAu2DQYvh9m8sUN_wFn0s0-9N_YLPi59jEGEDONhZtJkR4-vGRhgaH0_rpEmeP6uAGokHAlsteglz8cL5MdAVEvDA1nFQvzDzfeEEYEUzOSiLSDnp021ACy-VHwX0Y/s320/Gambar+2+_1.png&quot; width=&quot;273&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;li&gt;Pada Jendela Add Reference, pilih
tab Browse, cari file Oracle.DataAccess.dll&lt;/li&gt;
&lt;li&gt;Kemudian pada deklarasi namespace, masukkan namespace oracle yaitu :&amp;nbsp;&lt;/li&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;2&amp;quot;&quot;&gt;using Oracle.DataAccess.Client;
&lt;/textarea&gt;

&lt;/ol&gt;
Nah, begitulah caranya untuk menggunakan oracle dengan pemrograman .Net, mudah kan sobat ??&amp;nbsp; :)&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/database-oracle-di-pemrograman-net.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s72-c/oracle_logo.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-8814027243016337491</guid><pubDate>Mon, 16 Jul 2012 14:22:00 +0000</pubDate><atom:updated>2012-07-17T06:54:18.052-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><category domain="http://www.blogger.com/atom/ns#">VB.Net</category><title>Tutorial .Net dan Oracle : Connection String Oracle Di .Net</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bertemu lagi dengan &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Dunia Edi&lt;/a&gt;, kali ini saya ingin sharing tentang Connection String Oracle. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dalam pemrograman dengan database, connection string penting artinya untuk menghubungkan antara aplikasi dengan database. Connection string di Oracle ada bermacam - macam, semuanya sudah saya coba dan bisa jalan dengan baik (pas saya coba sih berjalan dengan baik)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nah, berikut ini adalah daftar Connection String Oracle yang pernah saya coba, silahkan dilihat-liha dulu :)&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Menggunakan TNS 
&lt;br /&gt;&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; row=&quot;2&quot;&gt;Data Source=NetworkAliasmu;User Id=userIDmu;Password=Passwordmu;
&lt;/textarea&gt;

&lt;/li&gt;
&lt;br /&gt;
&lt;li&gt;Menggunakan ODP.Net
&lt;textarea cols=&quot;67&quot; rows=&quot;4&quot;&gt;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=HostMu)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Servicenamemu)));User Id=userIDmu;Password=passwordmu;&quot;;
&lt;/textarea&gt;
&lt;/li&gt;
&lt;/ol&gt;
Sebenarnya masih ada beberapa Connection String lagi, tapi saya belum pernah coba, kalo sobat mau coba, silahkan aja main main ke 
&lt;a href=&quot;http://adf.ly/AmzKf&quot; target=&quot;_blank&quot;&gt;sini&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/connection-string-oracle-di-net.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s72-c/oracle_logo.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-4673660226271964764</guid><pubDate>Fri, 13 Jul 2012 10:27:00 +0000</pubDate><atom:updated>2012-07-17T06:53:21.014-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Tutorial ASP.Net dan GridView : Binding GridView Dengan Database Oracle</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, berjumpa lagi dengan
&lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Dunia Edi,&lt;/a&gt; kali ini saya ingin sharing tentang bagaimana &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Binding Gridview dengan Database Oracle&lt;/b&gt;. Proses Binding data pada
oracle hampir sama dengan binding data dengan database SQL Server, namun yang
berbeda adalah koneksinya. Oh ya, sebelum memulai step by step &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Binding Gridview dengan Database Oracle, &lt;/b&gt;sobat
harus membaca sharing Dunia Edi sebelumnya, yaitu :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/connection-string-oracle-di-net.html&quot; target=&quot;_blank&quot;&gt;Macam Macam String Koneksi Oracledi Pemrograman .Net&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/database-oracle-di-pemrograman-net.html&quot; target=&quot;_blank&quot;&gt;Menggunakan Database Oracle diPemrograman .Net&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Nah, setelah sobat membaca dan
tentunya mempraktekan kedua artikel diatas, maka berarti saya anggap sobat
sudah siap untuk memulai step by step nya.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Tool yang saya gunakan untuk
artikel ini adalah :&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Database Oracle 11g&lt;/li&gt;
&lt;li&gt;SQL Developer sebagai RDBMS
Oracle.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;


















&lt;u&gt;Persiapan&lt;/u&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Sebelum memulainya, kita perlu
membuat table yang dibutuhkan dalam artikel ini, yaitu :&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid8p-QrTzZuWzAc5SLUEAYLsTBMQAbuIOTWwJ3rfqzfc1B7LfXJj443ejTafxRiCs99H2Yt0cFI-9-D33r4w15hyphenhyphentRpZhQ-cYJYZSjalqQS29jyK0y11w_Zy_W_y5YuoOsxo0b3Reej6Y/s1600/Gambar+1+%28FILEminimizer%29.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid8p-QrTzZuWzAc5SLUEAYLsTBMQAbuIOTWwJ3rfqzfc1B7LfXJj443ejTafxRiCs99H2Yt0cFI-9-D33r4w15hyphenhyphentRpZhQ-cYJYZSjalqQS29jyK0y11w_Zy_W_y5YuoOsxo0b3Reej6Y/s640/Gambar+1+%28FILEminimizer%29.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Kemudian isi datanya dengan :&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
table {
background-color:#F2F2F5;
border-width:1px 1px 0px 1px;
border-color:#C9CBD3;
border-style:solid;
}
td {
color:#000000;
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
background-color:#EAEFF5;
padding:8px;
background-color:#F2F2F5;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid solid;
border-width:1px 0px 1px 0px;
}
th {
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
padding:8px;
background-color:#CFE0F1;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid none;
border-width:1px 0px 1px 0px;
white-space:nowrap;
}
&lt;/style&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt; &lt;th&gt;NIM&lt;/th&gt;
 &lt;th&gt;NAMA&lt;/th&gt;
 &lt;th&gt;ASAL&lt;/th&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;tbody id=&quot;data&quot;&gt;
&lt;tr&gt;
&lt;td&gt;001&lt;/td&gt;
&lt;td&gt;Andi&lt;/td&gt;
&lt;td&gt;Jakarta&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;002&lt;/td&gt;
&lt;td&gt;Ani&lt;/td&gt;
&lt;td&gt;Jakarta&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;003&lt;/td&gt;
&lt;td&gt;Ari&lt;/td&gt;
&lt;td&gt;Bandung&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;004&lt;/td&gt;
&lt;td&gt;Budi&lt;/td&gt;
&lt;td&gt;Bogor&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;005&lt;/td&gt;
&lt;td&gt;Fauzi&lt;/td&gt;
&lt;td&gt;Cirebon&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;006&lt;/td&gt;
&lt;td&gt;Diana&lt;/td&gt;
&lt;td&gt;Surabaya&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;007&lt;/td&gt;
&lt;td&gt;Indah&lt;/td&gt;
&lt;td&gt;Yogyakarta&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;008&lt;/td&gt;
&lt;td&gt;Rofid&lt;/td&gt;
&lt;td&gt;Semarang&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;009&lt;/td&gt;
&lt;td&gt;Wahyu&lt;/td&gt;
&lt;td&gt;Semarang&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;010&lt;/td&gt;
&lt;td&gt;Rendra&lt;/td&gt;
&lt;td&gt;Bandung&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Kalau Masih Bingung Cara membuat
table di Oracle, silahkan baca artikel membuat table di Oracle.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;


















&lt;u&gt;Praktikum&lt;/u&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Ok, sekarang mulai praktikumnya, &lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;Buat
Sebuah Project dengan tipe ASP.NET Web Application, beri nama projectnya
ASPOracle&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Kemudian
buat sebuah web form dengan nama WebForm1.aspx&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Masukkan
Sebuah Control GridView (bisa ditemukan di ToolBox Data -&amp;gt;Griview) ke
WebForm1.aspx (tinggal sobat drag aja gridviewnya)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Kemudian Set Columns GridView, dengan cara Klik GridView1, Properties -&amp;gt;Columns&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Pada jendela Field, Tambahkan BoundField pada Available Fields, klik Add&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set Header = NIM dan DataField=NIM pada BoundField Properties &lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Lakukan pada 2 Field yang lain (Nama dan Asal)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Tampilan pada Source WebForm1.aspx adalah :&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;10&quot; style=&quot;height: 187px; width: 618px;&quot;&gt;&amp;lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot;  DataKeyNames=&quot;NIM&quot;&amp;gt;
    &amp;lt;Columns&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;NIM&quot; HeaderText=&quot;NIM&quot; ReadOnly=&quot;True&quot; 
            SortExpression=&quot;NIM&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;NAMA&quot; HeaderText=&quot;NAMA&quot; 
            SortExpression=&quot;NAMA&quot; /&amp;gt;
        &amp;lt;asp:BoundField DataField=&quot;ASAL&quot; HeaderText=&quot;ASAL&quot; SortExpression=&quot;ASAL&quot; /&amp;gt;
    &amp;lt;/Columns&amp;gt;
&amp;lt;/asp:GridView&amp;gt;
&lt;/textarea&gt;
&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Kemudian
Pindah ke WebForm1.aspx.cs (Code Behind)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Pada
bagian deklarasi namespace (bagian paling atas), tambahkan namespace berikut
ini:&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;3&quot; style=&quot;height: 54px; width: 561px;&quot;&gt;using Oracle.DataAccess.Client;
using System.Data;&amp;nbsp;&lt;/textarea&gt;

&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Buat
method BindGrid untk Binding Database dengan GridView, ketikkan script berikut
ini di WebForm1.aspx.cs &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;textarea cols=&quot;70&quot; rows=&quot;10&quot;&gt;void BindGridView()
{
    DataTable table = new DataTable();
    string conn_string = @&quot;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));User Id=belajar;Password=123456;&quot;;
    OracleConnection conn = new OracleConnection(conn_string);
    OracleCommand command = new OracleCommand(&quot;SELECT * FROM mahasiswa&quot;, conn);
    command.CommandType = CommandType.Text;
    command.BindByName = true;
    OracleDataAdapter ad = new OracleDataAdapter();
    ad.SelectCommand = command;
    ad.Fill(table);

    GridView1.DataSource = table;
    GridView1.DataBind();
}
&lt;/textarea&gt;

&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Panggil
Method BindGridView di Page_Load, tampilannya seperti ini :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;5&quot;&gt;protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        BindGridView();
    }
}
&lt;/textarea&gt;
&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Silahkan
Run Project (tekan F5)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
Nah untuk hasil outputnya, seperti ini :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKr997FNbfn9enV-zN6PRC1MfBdvKXY8wA63sT68cscFF9_FZ1so0qaEw3WrNYRw8J4m0SG3v5UrvKiqy3yzxA7P6nKpeyPPbQC7LnR8R6KcT5j1a8rBCAAIkmboC8dj_F4iiBk-N3hFI/s1600/Gambar+2+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKr997FNbfn9enV-zN6PRC1MfBdvKXY8wA63sT68cscFF9_FZ1so0qaEw3WrNYRw8J4m0SG3v5UrvKiqy3yzxA7P6nKpeyPPbQC7LnR8R6KcT5j1a8rBCAAIkmboC8dj_F4iiBk-N3hFI/s1600/Gambar+2+_1.png&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&amp;nbsp;Buat Sobat yang ingin download project yang digunakan dalam praktikum kali ini, bisa sobat download di &lt;a href=&quot;http://adf.ly/Amwxl&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-dengan-database-oracle.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s72-c/oracle_logo.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-3900996117236780639</guid><pubDate>Fri, 13 Jul 2012 10:27:00 +0000</pubDate><atom:updated>2012-07-13T09:38:04.717-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Tutorial Oracle : Limit di Database Oracle</title><description>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s1600/oracle_logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hai Sobat, ketemu lagi dengan &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Dunia Edi&lt;/a&gt;, kali ini saya akan
sharing mengenai oracle, loh kok oracle? Ya oracle, karena saya sedang belajar
menggunakan ASP.Net dengan database Oracle (selama ini saya pakai SQL Server
sebagai databasenya). Nah pas suatu ketika, saya menjumpai masaalah pada kueri
limit, seperti kita tahu, bahwa Limit berfungsi membatasi jumlah record yang
muncul dihasil kueri.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Misalkan kita mempunyai sebuah table dengan nama mahasiswa
yang mempunya field NIM,NAMA,ASAL, yang memiliki data seperti berikut ini :&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;title&gt;mahasiswa&lt;/title&gt;
    
    
    &lt;style type=&quot;text/css&quot;&gt;
      thead tr {background-color: ActiveCaption; color: CaptionText;}
      th, td {vertical-align: top; font-family: &quot;Tahoma&quot;; font-size: 8pt; padding: 3px; }
      table, td {border: 1px solid silver;}
      table {border-collapse: collapse;}
      thead .col0 {width: 67px;}
      thead .col1 {width: 70px;}
      thead .col2 {width: 90px;}
    
&lt;/style&gt;
  

  

    &lt;br /&gt;
&lt;table caption=&quot;mahasiswa (10 rows)&quot;&gt;
      &lt;thead&gt;
&lt;tr&gt;
          &lt;th class=&quot;col0&quot;&gt;NIM&lt;/th&gt;
          &lt;th class=&quot;col1&quot;&gt;NAMA&lt;/th&gt;
          &lt;th class=&quot;col2&quot;&gt;ASAL&lt;/th&gt;
        &lt;/tr&gt;
&lt;/thead&gt;
      &lt;tbody&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;001&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Andi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Jakarta&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;002&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Ani&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Jakarta&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;003&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Ari&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Bandung&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;004&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Budi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Bogor&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;005&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Fauzi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Cirebon&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;006&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Diana&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Surabaya&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;007&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Indah&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Yogyakarta&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;008&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Rofid&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Semarang&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;009&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Wahyu&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Semarang&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;010&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Rendra&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Bandung&lt;/td&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;
    &lt;/table&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dari data diatas, jika kita ingin menampilkan hanya 5 baris pertama, maka
dengan MySQL, kita bisa menggunakan klausa limit. Limit digunakan untuk membatasi MySQL kueri result yang tidak mempunyai batasan tertentu/khusus. Dalam kueri limit, kita dapat menentukan mulai dari baris keberapa data akan diambil dan berapa banyak data yang diambil. Contoh dari limit yaitu :&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;textfield cols=&quot;67&quot; rows=&quot;3&quot;&gt;
SELECT * FROM mahasiswa LIMIT 0,5&lt;/textfield&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Kueri diatas artinya menampilkan semua data dari tabel
mahasiswa dimulai dari data ke-0 sebanyak 5 baris (index di MySQL dimulai dari
0), hasil dari kueri MySQL diatas adalah sebagai berikut :&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;
      thead tr {background-color: ActiveCaption; color: CaptionText;}
      th, td {vertical-align: top; font-family: &quot;Tahoma&quot;; font-size: 8pt; padding: 3px; }
      table, td {border: 1px solid silver;}
      table {border-collapse: collapse;}
      thead .col0 {width: 67px;}
      thead .col1 {width: 60px;}
      thead .col2 {width: 77px;}
    
&lt;/style&gt;
  

  

    &lt;/div&gt;
&lt;table&gt;
      &lt;thead&gt;
&lt;tr&gt;
          &lt;th class=&quot;col0&quot;&gt;NIM&lt;/th&gt;
          &lt;th class=&quot;col1&quot;&gt;NAMA&lt;/th&gt;
          &lt;th class=&quot;col2&quot;&gt;ASAL&lt;/th&gt;
        &lt;/tr&gt;
&lt;/thead&gt;
      &lt;tbody&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;001&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Andi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Jakarta&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;002&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Ani&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Jakarta&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;003&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Ari&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Bandung&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;004&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Budi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Bogor&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;col0&quot;&gt;005&lt;/td&gt;
          &lt;td class=&quot;col1&quot;&gt;Fauzi&lt;/td&gt;
          &lt;td class=&quot;col2&quot;&gt;Cirebon&lt;/td&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;
    &lt;/table&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Namun di Oracle tidak mengenal klausa limit. Untuk dapat
menampilkan hanya 5 data seperti diatas, kita bisa menggunakan ROWNUM. ROWNUM
di Oracle adalah built-in fungsi SQL yang menyertai setiap result set yang
dijalankan, jadi ROWNUM selalu hadir ketika kita SELECT kueri di Oracle, dengan
ROWNUM, kita dapat menghasilkan hasil yang sama seperti hasil kueri di MySQL,
kueri ROWNUM diOracle adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;textfield cols=&quot;67&quot; rows=&quot;5&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SELECT * FROM 
    (SELECT nim,nama,asal, ROW_NUMBER() OVER (ORDER BY id) R FROM mahasiswa)
     WHERE R BETWEEN 1 and 5;
&lt;/span&gt;&lt;/textfield&gt;
&lt;br /&gt;
&lt;br /&gt;
Maka hasil yang didapatkan adalah sama dengan hasil kueri MySQL. OK, sekian dulu sharing dari saya, semoga ini dapat membantu sobat semua. :)&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/limit-di-database-oracle.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDc7tz4CzxhYNGeAdMT0DWodiEb1ePTRUg5WkRRFs9FYzT7rnUrUh7JYAnqymSJO51khsGYQjNxfB2kQLfObmkaxfQeD2tYb4MJIdMO2_ENukvKKO47h_vul3oqXyyoyJOUiZj2UuElLM/s72-c/oracle_logo.gif" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-8185114814345215818</guid><pubDate>Thu, 12 Jul 2012 15:18:00 +0000</pubDate><atom:updated>2012-07-12T09:13:37.906-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">GridView</category><title>Tutorial ASP.Net dan GridView : Binding Gridview ASP.Net Dengan Array part 1</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s1600/ASP_NET-logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s1600/ASP_NET-logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hai Sobat, ketemu lagi dengan &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt;, kali ini saya ingin sharing tentang &lt;b&gt;Binding Array Pada GridView&lt;/b&gt;, saya ingin membinding array dengan GridView, karena tidak ada database terinstal dikomputer saya (alasan yang aneh ya, hehe). Lanjut yuk, tool yang saya gunakan adalah &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;. Sebelum kita memasuki praktikum (hehe, mulai sekarang kita sebut praktikum ya), kita perlu tahu, sebenarnya GridView diASP.Net itu apa sih?&lt;br /&gt;
&lt;br /&gt;
Seperti kita semua tahu, ASP.Net adalah platform pengembangan web yang kaya, dan salah satu komponen yang saya suka adalah GridView, karena dengan GridView, menampilkan data menjadi lebih mudah. GridView ASP.Net akan dicompile ke bentuk Table HTML (karena dalam bentuk HTML, maka gridview ini nantinya bisa diakses oleh javascript semisal jQuery). Dan fasilitas yang paling saya suka dari GridView adalah Binding, yaitu mengikat data dari sebuah sumber (bisa array, bisa table, bisa xml dan masih banyak lagi). Seperti pada sharing kali ini, kita akan &lt;b&gt;Binding Array ke dalam GridView.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Langkah Langkah untuk &lt;b&gt;Binding Array Pada GridView&lt;/b&gt; adalah&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah project, pilih visual C# =&amp;gt; web, kemudian pilih ASP.Net Web Application&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Beri nama project baru tersebut dengan GridViewArray&lt;/li&gt;
&lt;li&gt;Buat Sebuah Web Form, beri nama WebForm1.aspx&lt;/li&gt;
&lt;li&gt;Tambahkan sebuah GridView ke WebForm1.aspx (GridView bisa ditemukan pada ToolBox Data), biarkan saja IDnya GridView1.&lt;/li&gt;
&lt;li&gt;Sekarang kita pindah ke Code Behindnya (Tekan F7 atau pilih menu View-Code)&lt;/li&gt;
&lt;li&gt;Pada Code Behind, didalam Method Page_Load, ketikkan script berikut ini &lt;/li&gt;
&lt;textarea style=&quot;height: 128px; width: 627px;&quot;&gt;string[] kota = { &quot;Jakarta&quot;, &quot;Yogyakarta&quot;, &quot;Semarang&quot;, &quot;Bandung&quot;, &quot;Surabaya&quot;,&quot;Bogor&quot;,&quot;Malang&quot;,&quot;Pekalongan&quot; };

GridView1.DataSource = kota;

GridView1.DataBind();
&lt;/textarea&gt;
&lt;li&gt;Sekarang Tinggal Run Aja (Tekan F5 atau pilih menu Debug-Start Debugging&lt;/li&gt;
&lt;/ol&gt;
Kurang lebih tampilannya akan seperti ini.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7ZecsmHEN8Xfo_HPV95K_Fk1IhOWEQN9SZZ5Nl_DvZAz9b1ZzrSzm-CXkYReljv1Snx9olCjQ8DQK5zvLb6Pu8VP-wvvwmZzpj82BRnqGBp-ohaIQGLGQr-cdFNmCLioqGkHXCSOli7M/s1600/Hasil+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;243&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7ZecsmHEN8Xfo_HPV95K_Fk1IhOWEQN9SZZ5Nl_DvZAz9b1ZzrSzm-CXkYReljv1Snx9olCjQ8DQK5zvLb6Pu8VP-wvvwmZzpj82BRnqGBp-ohaIQGLGQr-cdFNmCLioqGkHXCSOli7M/s320/Hasil+_1.png&quot; width=&quot;320&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Bagaimana Sobat? mudah kan &lt;b&gt;Binding GridView dengan array ?&lt;/b&gt; Untuk sobat yang ingin mendapatkan source code dari sharing kali ini, bisa soba download di&amp;nbsp;&lt;a href=&quot;http://adf.ly/AeFl0&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/binding-gridview-aspnet-dengan-array-1.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAJR8eMQVDy4oRtGkuN1eMa666QkNwHSO-8ThMdMfO4tr1J-2L7Cmka84V71WUtVfj4AXqX-EBkgRvO56RPTMNg4sUypH_QZ6dRGqig7e9Epy88pTC6g7-SR1ouVC-Exc4VSiqRao-GgA/s72-c/ASP_NET-logo.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-7229627896831120513</guid><pubDate>Wed, 11 Jul 2012 11:10:00 +0000</pubDate><atom:updated>2012-07-12T07:56:39.876-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Ext.Net</category><title>Tutorial ASP.Net dengan Ext.NEt : Memulai Ext.Net di ASP.Net</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC86eioM0HTOBp7xjB6iCjWdMzRBUBQdWlDtMS9Idg9VclFjfZaZHy3bQ3McLjtCE09fklHQgUWChyphenhyphenH2w9zcif3EtVIl6uCYXj7DlazPWPRD8YXsKnnP24rv35evwdCrqehPawdrb1yPQ/s1600/extnet-logo+_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC86eioM0HTOBp7xjB6iCjWdMzRBUBQdWlDtMS9Idg9VclFjfZaZHy3bQ3McLjtCE09fklHQgUWChyphenhyphenH2w9zcif3EtVIl6uCYXj7DlazPWPRD8YXsKnnP24rv35evwdCrqehPawdrb1yPQ/s320/extnet-logo+_1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, pada sharing kali ini, &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt; ingin berbagi tentang Ext.Net. Sebelum kita memulai &lt;b&gt;belajar Ext.net&lt;/b&gt;, kita perlu tahu apa itu Ext.net, menurut dari web resmi &lt;a href=&quot;http://ext.net/&quot; target=&quot;_blank&quot;&gt;ext.net&lt;/a&gt; adalah :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Ext.NET is an open source ASP.NET (WebForm + MVC) component framework 
integrating the cross-browser Sencha Ext JS JavaScript Library.&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jadi, Ext.Net adalah porting dari Ext JS untuk .Net Programming, sebenarnya Ext JS juga bisa digunakan dalam .Net programming, namun Ext.Net ini mempermudah para developer karena sudah dibuatkan kontrol yang dapat di drag langsung ke webform.&lt;br /&gt;
&lt;br /&gt;
Nah sekian dulu penjelasannya, berikutnya kita masuk ke prakteknya. Hal yang perlu disiapkan adalah :&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;IDE untuk .Net Programming, disini saya menggunakan &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Ext.Net,yang dapat didownload pada website resminya &lt;a href=&quot;http://www.ext.net/download/&quot; target=&quot;_blank&quot;&gt;download ext.net&lt;/a&gt;, pada sharing kali ini saya menggunakan ext.net versi 2.0.0.rc2 community edition.&lt;/li&gt;
&lt;li&gt;Extract ext.net yang didownload, didalamnya ada Ext.net.dll. &lt;/li&gt;
&lt;li&gt;Saya menggunakan ASP.Net dengan code behind C#.&lt;/li&gt;
&lt;/ol&gt;
Nah, setelah semua tool yang digunakan siap, kita mulai saja.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Buat sebuah project, pilih visual C# =&amp;gt; web, kemudian pilih ASP.Net Web Application&lt;/li&gt;
&lt;li&gt;Beri nama project ini ext.net&lt;/li&gt;
&lt;li&gt;Pada jendela ToolBox, biasanya ada di sisi kiri layar atau jika tidak ada bisa tekan Ctrl+Alt+X, klik kanan toolbox kemudian pilih &lt;u&gt;A&lt;/u&gt;dd Tab, beri nama Ext.Net&lt;/li&gt;
&lt;li&gt;Klik kanan Toolbox Ext.Net, pilih Choose Items.&lt;/li&gt;
&lt;li&gt;Pada .Net Framework Components, klik tombol Browse, cari Ext.net.dll lalu klik OK&lt;/li&gt;
&lt;li&gt;Sekarang pada ToolBox Ext.Net sudah terisi komponen komponen Ext.net.&lt;/li&gt;
&lt;li&gt;Langkah selanjutnya adalah membuat sebuah webform, beri nama webform1.aspx&lt;/li&gt;
&lt;li&gt;Tambahkan sebuah ResourceManager ke webform1.aspx ( ResourceManager bisa ditemukan di ToolBox Ext.net). ResourceManager ini dibutuhkan oleh setiap komponen Ext.net.&lt;/li&gt;
&lt;li&gt;Tambahkan Ext:Button, atur propertynya seperti ini :&lt;/li&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;10&quot; style=&quot;height: 98px; width: 566px;&quot;&gt;        
&amp;lt;ext:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Direct Event&quot;&amp;gt;
      &amp;lt;DirectEvents&amp;gt;
          &amp;lt;Click OnEvent=&quot;Button1_Click&quot; /&amp;gt;
      &amp;lt;/DirectEvents&amp;gt;
&amp;lt;/ext:Button&amp;gt;
&lt;/textarea&gt;
Button1 menggunakan metode DirectEvents untuk melakukan aksinya.
&lt;li&gt;Kemudian, kita berpindah pada Code Behind dari Webform1.aspx, buka webform1.aspx.cs atau dengan cara tekan tombol F7 atau bisa juga dengan cara pilih menu View =&amp;gt; Code.&lt;/li&gt;
&lt;li&gt;Pada Jendela Code Behind, pada bagian deklarasi using (paling atas) tambahkan using Ext.Net;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Kemudian, tambahkan method Button1_Click seperti berikut ini &lt;/li&gt;
&lt;textarea style=&quot;height: 83px; width: 610px;&quot;&gt;protected void Button1_Click(Object sender, DirectEventArgs e)
{
   X.Msg.Notify(&quot;DirectEvent&quot;, DateTime.Now.ToLongTimeString()).Show();
}
&lt;/textarea&gt;
&lt;li&gt;Kembali lagi ke webform1.aspx dengan cara tekan tombo Shift+F7 atau pilih menu View =&amp;gt; Designer.&lt;/li&gt;
&lt;li&gt;Tambahkan sebuah Ext:Button lagi kedalam Webform1.aspx, atur propertinya seperti berikut ini.&lt;/li&gt;
&lt;textarea style=&quot;height: 97px; width: 604px;&quot;&gt;&amp;lt;ext:Button ID=&quot;Button2&quot; runat=&quot;server&quot; Text=&quot;Direct Method&quot;&amp;gt;
      &amp;lt;Listeners&amp;gt;
          &amp;lt;Click Handler=&quot;Ext.net.DirectMethods.DoSomething();&quot; /&amp;gt;
      &amp;lt;/Listeners&amp;gt;
&amp;lt;/ext:Button&amp;gt;
&lt;/textarea&gt;
&lt;li&gt;Kemudian, tambahkan Method DoSomething di Code Behind (Tekan F7 untuk berpindah ke jendela Code Behind.&lt;/li&gt;
&lt;textarea style=&quot;height: 85px; width: 593px;&quot;&gt;[DirectMethod]
public void DoSomething()
{
   X.Msg.Notify(&quot;DirectMethod&quot;, &quot;Akhirnya bisa Ext.Net&quot;).Show();
}
&lt;/textarea&gt;
&lt;li&gt;&amp;nbsp;Setelah selesai, buka Web.Config pada solution Explorer, tambahkan script berikut ini.&lt;/li&gt;
&lt;textarea style=&quot;height: 72px; width: 595px;&quot;&gt;&amp;lt;httpModules&amp;gt;
   &amp;lt;add name=&quot;DirectRequestModule&quot; type=&quot;Ext.Net.DirectRequestModule, Ext.Net&quot; /&amp;gt;
&amp;lt;/httpModules&amp;gt;
&lt;/textarea&gt;&amp;nbsp; 
Letakkan script diatas diantara tag system.web
&lt;li&gt;Jalankan Project dengan Tekan F5 atau pilih menu Debug =&amp;gt; Start Debugging &lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nah, sudah jadi deh &lt;b&gt;belajar ext.net di ASP.Net, &lt;/b&gt;sharing kali ini masih sangat sederhana, namun bisa sobat kembangkan dengan mempelajari teknologi Ext.Net.Oh ya, maaf ya kalo sharing kali ini ga ada screenshitnya, lagi males screenshoot nih, hehe,tapi tenang sobat, project yang digunakan dalam sharing kali ini bisa di download di &lt;a href=&quot;http://adf.ly/Ae81y&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/memulai-extnet-di-aspnet.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC86eioM0HTOBp7xjB6iCjWdMzRBUBQdWlDtMS9Idg9VclFjfZaZHy3bQ3McLjtCE09fklHQgUWChyphenhyphenH2w9zcif3EtVIl6uCYXj7DlazPWPRD8YXsKnnP24rv35evwdCrqehPawdrb1yPQ/s72-c/extnet-logo+_1.jpg" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-6377180153758410023</guid><pubDate>Wed, 11 Jul 2012 07:49:00 +0000</pubDate><atom:updated>2012-07-11T06:38:38.855-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><title>Tutorial ASP.Net dengan jQuery : Mendapatkan Selected Item CheckBoxlist ASP.Net dengan jQuery</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s1600/jquery.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s200/jquery.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, kembali lagi bersama &lt;a href=&quot;http://duniaedi.blogspot.com/&quot; target=&quot;_blank&quot;&gt;dunia edi&lt;/a&gt;, kali ini saya ingin sharing tentang CheckBoxList di ASP.Net. ASP.Net memang sangat kaya akan pengembangan web, checkbox yang dulu diHTML harus diketikkan manual, diset property manual (walaupun ada tool seperti DreamWeaver yang memudahkan pembuatan kontrol HTML), namun di ASP.Net checkbox ini dibungkus sedemikian rupa sehingga seperti kita mengembangkan aplikasi desktop. Salut deh buat Microsoft dengan Visual Studionya.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kembali lagi ke topik, kasus disini adalah saya ingin mendapatkan selected item (item yang dipilih) dari CheckBoxList, tetapi dengan jQuery. Jadi kita mengambil selected itemnya di &lt;i&gt;client side&lt;/i&gt;. Tool yang saya gunakan dalam sharing kali ini adalah &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html&quot; target=&quot;_blank&quot;&gt;Visual Studio 2010&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Persiapan :&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Langkah pertama adalah membuat project baru, pilih ASP.Net Web Application, saya beri nama jquery. Kemudian buat sebuah web form, beri nama webform1. Buat tampilan seperti ini :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqQb6Tt2kascIL2AiXQFq-fU15Zb44JIm86j1jq9rJavuwRNfyteDtSfB6-KVh6xLbC-CjbmhBWhjI1d56bhvhYMz7vMeuzB5O-FlBUu8tlIOTIKashJu-oes52AM3n_I3oiLzmHL4bB0/s1600/rancangan+form++_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqQb6Tt2kascIL2AiXQFq-fU15Zb44JIm86j1jq9rJavuwRNfyteDtSfB6-KVh6xLbC-CjbmhBWhjI1d56bhvhYMz7vMeuzB5O-FlBUu8tlIOTIKashJu-oes52AM3n_I3oiLzmHL4bB0/s320/rancangan+form++_1.png&quot; width=&quot;320&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Atau sobat bisa Copy Paste script berikut ke webform1.aspx, letakkan diantara tag form.
&lt;textarea cols=&quot;70&quot; rows=&quot;10&quot;&gt;    &amp;lt;div&amp;gt;
        &amp;lt;fieldset style=&quot;width: 400px; height: 300px&quot;&amp;gt;
            &amp;lt;asp:CheckBoxList ID=&quot;cek&quot; runat=&quot;server&quot;&amp;gt;
                &amp;lt;asp:ListItem&amp;gt;Google&amp;lt;/asp:ListItem&amp;gt;
                &amp;lt;asp:ListItem&amp;gt;Yahoo&amp;lt;/asp:ListItem&amp;gt;
                &amp;lt;asp:ListItem&amp;gt;Bing&amp;lt;/asp:ListItem&amp;gt;
            &amp;lt;/asp:CheckBoxList&amp;gt;
            &amp;lt;br /&amp;gt;
            &amp;lt;div id=&quot;label&quot;&amp;gt;Pilihan anda:&amp;lt;/div&amp;gt;
            &amp;lt;br /&amp;gt;

        &amp;lt;/fieldset&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/textarea&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Setelah itu, referensikan jQuery pada webform1.aspx, caranya adalah pada solution explorer, expand folder Scripts, kemudian seret jquery-.1.4.1.min.js kedalam webform.aspx. Untuk lebih jelasnya, lihat gambar dibawah ini.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFy3jq220WVbN0jOV1L43iG4LlYuOvGAg2W2X5jyvUF9m61a1f5G9oK-FZlskKQwhIYUmUgmM-TfJLMW_-QAQGxgsHgOnG4pu2Y0Jy0JoxzquN6fKweQfR4gBaeNgQtfMGKYiMl81pQUI/s1600/dragjquery+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFy3jq220WVbN0jOV1L43iG4LlYuOvGAg2W2X5jyvUF9m61a1f5G9oK-FZlskKQwhIYUmUgmM-TfJLMW_-QAQGxgsHgOnG4pu2Y0Jy0JoxzquN6fKweQfR4gBaeNgQtfMGKYiMl81pQUI/s640/dragjquery+_1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTvX7p40qvgR0Kp2yWcB2GdWI5BFe3TBvKfTJrSOx0yZyKLw04dRo1kyrIYistHtI0lv4ENhiTB_bLVl95lMqiMpVabGQHklhqdf5VsIytrxLEuzWQIplB4fiuVPqbC6rIu4xDMNqUzZY/s1600/dragjquery+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Nanti akan secara otomatis mereferensi ke framework jQuery.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;u&gt;Saatnya Beraksi&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Sekarang kita akan menambahkan script jquery pada halaman webform1.aspx. Yang pertama adalah ketikan script berikut ini dibawah referensi jQuery.
&lt;textarea cols=&quot;68&quot; rows=&quot;10&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
   $(document).ready(function () {
       $(&#39;#&amp;lt;%=cek.ClientID %&amp;gt;&#39;).click(function () {
           var s = &quot;&quot;;
           $(&#39;#&amp;lt;%=cek.ClientID%&amp;gt; input[type=checkbox]:checked&#39;).each(function () {
               s = s + this.value;
           });
            $(&#39;#label&#39;).text(s);
       });
    });
&amp;lt;/script&amp;gt;

&lt;/textarea&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Source code yang digunakan dalam sharing kali ini bisa sobat download di&amp;nbsp;&lt;a href=&quot;http://adf.ly/AbFr4&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/selecteditem-checkboxlist-dengan-jquery.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s72-c/jquery.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-4870624659534033073</guid><pubDate>Tue, 10 Jul 2012 15:44:00 +0000</pubDate><atom:updated>2012-07-17T06:55:08.661-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><title>Tutorial ASP.Net JQuery : Mendapatkan nilai Dropdownlist ASP.Net dengan JQuery</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s1600/jquery.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s1600/jquery.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bertemu lagi dengan saya, kali ini saya akan sharing tentang &lt;b&gt;bagaimana mendapatkan nilai Dropdownlist ASP.Net dengan JQuery&lt;/b&gt;. Seperti pada &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/tutorial-aspnet-jquery-mendapatkan.html&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;artikel sebelumnya&lt;/a&gt;, yang membahas tentang mendapatkan nilai textbox dengan jQuery, maka kali ini yang diakses oleh jQuery adalah Dropdownlist.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Seperti yang sobat tau, bahwa ASP.Net sangat mempermudah developer dalam pembuatan aplikasi web. kontrol select milik HTML dibungkus sedemikian rupa menjadi sebuah kontrol Dropdownlist yang sangat mempermudah developer. Namun, bagaimanapun juga, kontrol kontrol yang ada diASP.Net pada saat dijalankan akan diubah menjadi kode HTMLbiasa, yang dapat kita akses dengan jQuery.&lt;br /&gt;
&lt;br /&gt;
Nah, untuk sharing kali ini, pertama kali kita buat dulu sebuah webform pada ASP.Net dengan tampilan :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOBEZhKJQ5FRNOvMxL7ObbI4k-sP3YY5rzgxYwB-PA0u1iZlorcPZEMtb3zfPe7VGf7jp5WkGIJ9e_1ZMYLOcK23Efg4WRQH_8Iv4LXqpUh0Hz4tvPAlVCqEsiWJCgeH4uujYWsQfffw/s1600/rancangan+form+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOBEZhKJQ5FRNOvMxL7ObbI4k-sP3YY5rzgxYwB-PA0u1iZlorcPZEMtb3zfPe7VGf7jp5WkGIJ9e_1ZMYLOcK23Efg4WRQH_8Iv4LXqpUh0Hz4tvPAlVCqEsiWJCgeH4uujYWsQfffw/s1600/rancangan+form+_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Dalam rancangan, masukkan komponen Dropdownlist dan Button, kemudian untuk Dropdownlist, Pada jendela Properti, pilih item, masukan item satu persatu, seperti pada gambar berikut ini:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SFivwx1sWNwZQG6GSeetpvwMaUQfasAx2p3G_PrO-bLAj498phZarIGCzpfsGFBbgU3RHBllptCRR1oXl9uZ-esARdMfElG1s1uBxQOjDrIBugaxfGoJYOYrhsWsSOeF8A7IqhkOM90/s1600/ListitemEditor+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SFivwx1sWNwZQG6GSeetpvwMaUQfasAx2p3G_PrO-bLAj498phZarIGCzpfsGFBbgU3RHBllptCRR1oXl9uZ-esARdMfElG1s1uBxQOjDrIBugaxfGoJYOYrhsWsSOeF8A7IqhkOM90/s400/ListitemEditor+_1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Masukkan Google, Bing dan Yahoo. Kemudian seperti biasa referensikan jquery pada webform kita, jika belum tau cara mereferensikan jquery di webform ASP.Net, silahkan baca &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/tutorial-aspnet-jquery-mendapatkan.html&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;artikel sebelumnya&lt;/a&gt;.Langkah selanjutnya adalah diantara tag head, ketikkan kode berikut ini:&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;10&quot; style=&quot;height: 153px; width: 628px;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;;
   $(document).ready(function () {
       $(&quot;#&amp;lt;%=Button1.ClientID %&amp;gt;&quot;).click(function () {
          var message = $(&quot;#&amp;lt;%=DropDownList1.ClientID%&amp;gt;option:selected&quot;).val();
          alert(&quot;sobat memilih &quot; + message);
       });
   });
&amp;lt;script&amp;gt;;
&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
Nah, selesai deh sobat, coba jalankan projectnya, dan rasakan kemudahan &lt;b&gt;mendapatkan nilai dropdownlist dengan jQuery.&lt;/b&gt; :)&lt;br /&gt;
&lt;br /&gt;
untuk source code yang digunakan dalam sharing kali ini, dapat download di&amp;nbsp;&lt;a href=&quot;http://adf.ly/AZMZD&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/tutorial-aspnet-jquery-mendapatkan_10.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s72-c/jquery.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-7911971962482620277</guid><pubDate>Mon, 09 Jul 2012 14:44:00 +0000</pubDate><atom:updated>2012-07-11T06:40:28.276-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><title>Tutorial ASP.Net JQuery : Mendapatkan nilai TextBox ASP.Net dengan JQuery</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s1600/jquery.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s1600/jquery.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Hai sobat, kembali lagi bersama dunia edi, kali ini saya ingin sharing tentang &lt;b&gt;ASP.Net dan JQuery&lt;/b&gt;. Kalau ASP.Net tentu sobat sudah tau, tapi kalau belum tau, bisa membaca apa itu ASP.Net di &lt;a href=&quot;http://id.wikipedia.org/wiki/Active_Server_Pages_.NET&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;Wikipedia&lt;/a&gt;. Kemudian JQuery adalah Framework Javascript, yang kalau pengertian dari webnya&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;color: black;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;display: inline !important; float: none; font-family: &#39;Trebuchet MS&#39;, Verdana, Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 24px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;border: 0px none; font-family: &#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 24px; margin: 0px; orphans: 2; outline: 0px none; padding: 0px; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;jQuery is designed to change the way that you write JavaScript.&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dari pengertian diatas, bisa kita simpulkan bahwa jQuery dibuat untuk mempermudah pengembangan web yang menggunakan javascript. jQuery bisa digunakan oleh semua bahasa pemrograman yang mendukung penggunaan javascript (PHP,JSP, ASP Classic, ASP.Net dll). Dalam sharing kali ini, kita akan mencoba menggunakan jQuery dengan ASP.Net, yaitu &lt;b&gt;mendapatkan nilai textbox ASP.Net dengan jQuery. &lt;/b&gt;Tool yang saya gunakan adalah Visual Studio 2010.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Langkah pertama adalah kita membuat sebuah webform diASP.Net dengan nama Webform1. rancanglah webform itu dengan rancangan :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOUMfsiXPOpDaY2QLMtisB5M9ckbPz5DGutqQ6_ocVLCY_qbq8NafTDGOHwPZlFg3uLaBl3Jb4XF78r3nqBd4hZPsJPYGhp1wig1Hl35AWlbPA21vqpu2PN5lsf7mJ-ZZAVmXul2WLFlM/s1600/rancangan+form+_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOUMfsiXPOpDaY2QLMtisB5M9ckbPz5DGutqQ6_ocVLCY_qbq8NafTDGOHwPZlFg3uLaBl3Jb4XF78r3nqBd4hZPsJPYGhp1wig1Hl35AWlbPA21vqpu2PN5lsf7mJ-ZZAVmXul2WLFlM/s1600/rancangan+form+_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Rancangan diatas berisi sebuah Textbox dan sebuah Button, keduanya merupakan Control ASP.Net. Ubah Property ID dari textbox menjadi txtNama dan properti ID button menjadi btnSubmit.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Sebelum melanjutkan, kita perlu mendapatkan framework jQuery yang dapat didonwnload di website &lt;a href=&quot;http://www.jquery.com/&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;jQuery&lt;/a&gt;. Setelah download selesai, ekstrak lalu kopikan jQuery.js kedalam projek. Pada source Webform1.aspx, bagian tag head, masukkan referensi script jQuery.&lt;br /&gt;
&lt;textarea cols=&quot;67&quot; rows=&quot;1&quot;&gt;&amp;lt;script src=&quot;jquery-1.4.1.min.js&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/textarea&gt;
&lt;br /&gt;
Kemudian dibawah deklarasi referensi jQuery, masukkan kode berikut :
&lt;textarea cols=&quot;67&quot; rows=&quot;8&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
    $(document).ready(function () {
        $(&quot;#&amp;lt;%=btnSubmit.ClientID %&amp;gt;&quot;).click(function () {
            var nama=$(&quot;#&amp;lt;%=txtNama.ClientID %&amp;gt;&quot;).val();
            alert(&quot;hai &quot; + nama);
        });
    });
&amp;lt;/script&amp;gt;
&lt;/textarea&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nah langkah terakhir adalah tinggal menjalankan dan melihat bagaimana mudahnya menggunakan jQuery. :)&lt;br /&gt;
&lt;br /&gt;
Untuk source code yang digunakan dalam sharing kali ini bisa didownload di&lt;a href=&quot;http://adf.ly/AZIMI&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;mediafire&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/tutorial-aspnet-jquery-mendapatkan.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50ifl7MK1ReYR_8a9Rfa32sa7cq5XpfaNHMZo1lVU9E4RIPiXNXGnTU9ZeugRJ4HXaBAuE0B9X2ldWhPA1lCnp2wzg6I7vSkSc8a3gtkjg0zhO8DbIM_XEb0t2xh7CGbBWBP4PiOuuZE/s72-c/jquery.png" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-2470478712469059484</guid><pubDate>Mon, 09 Jul 2012 07:55:00 +0000</pubDate><atom:updated>2012-07-11T02:02:41.195-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net Programming</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Dasar</category><category domain="http://www.blogger.com/atom/ns#">VB.Net</category><title>Memulai Belajar .Net Programming ( C# atau VB.Net)</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqKFQ6YwDB7XWKUaPAV0NFO48cDVn22PI-8EOZ7ozeGs2daO8pg10uM-SMFC3-4qdn8cHTzCeAYiGvwjFO7VcgNDq4Jy0lNtSDC8c2o-ViFWh3Pb3UbccgOCUVIysGYAh8u39dWq-TtqM/s1600/NetFramework.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqKFQ6YwDB7XWKUaPAV0NFO48cDVn22PI-8EOZ7ozeGs2daO8pg10uM-SMFC3-4qdn8cHTzCeAYiGvwjFO7VcgNDq4Jy0lNtSDC8c2o-ViFWh3Pb3UbccgOCUVIysGYAh8u39dWq-TtqM/s320/NetFramework.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Hai Sobat, di &lt;a href=&quot;http://duniaedi.blogspot.com/2012/07/memulai-belajar-pemrograman.html&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;artikel sebelumnya&lt;/a&gt; saya telah menjelaskan bagaimana cara memulai belajar bahasa pemrograman. Nah sekarang kita akan memulai &lt;b&gt;Belajar Pemrograman .Net &lt;/b&gt;dengan mudah dan cepat.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk diketahui, pemrograman .Net membutuhkan .Net Framework. Framewok .Net sebenarnya mendukung banyak bahasa, tapi disini akan dijelaskan hanya C# dan VB.Net. Karena menurut saya, kedua bahasa ini yang lebih populer digunakan dalam pembuatan program dilingkungan kerja .Net.&lt;br /&gt;
&lt;br /&gt;
Dalam artikel ini, kita akan menggunakan IDE untuk memulai pemrograman .Net, IDE yang kita gunakan adalah Visual Studio 2010 Express Edition. Jangan khawatir tentang licence, karena microsoft memberikan gratis untuk para developer yang ingin &lt;b&gt;Belajar Pemrograman&lt;/b&gt; &lt;b&gt;.Net.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Silahkan download &lt;a href=&quot;http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;Visual C# 2010 Express Edition&lt;/a&gt; bagi yang ingin belajar C#, atau &lt;a href=&quot;http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-basic-express&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;Visual Basic 2010 Express Edition&lt;/a&gt;. Ukuran dari file tersebut adalah sekitar 3,1 MB, loh? kok kecil banget? iya, karena nanti ketika file itu dijalankan, akan download lagi file file yang dibutuhkan untuk install IDE. Jadi dibutuhkan koneksi internet untuk menginstall IDE Visual Studio.&lt;br /&gt;
&lt;br /&gt;
Tapi tenang, Microsoft juga mengeluarkan Visual Studio Express Edition dalam format iso, sehingga bagi yang tidak ada koneksi internet, bisa install Visual Studio. untuk Versi Offlinenya, silahkan download di &lt;a href=&quot;http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-A603-1798B951DDAE/VS2010Express1.iso&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;sini&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update :&lt;/b&gt;&lt;br /&gt;
Ternyata .Net Programming juga bisa jalan di Linux dengan coding yang sama, silahkan coba project&amp;nbsp;&lt;a href=&quot;http://www.mono-project.com/Main_Page&quot; target=&quot;_blank&quot;&gt;mono&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/memulai-belajat-net-programming-c-atau.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqKFQ6YwDB7XWKUaPAV0NFO48cDVn22PI-8EOZ7ozeGs2daO8pg10uM-SMFC3-4qdn8cHTzCeAYiGvwjFO7VcgNDq4Jy0lNtSDC8c2o-ViFWh3Pb3UbccgOCUVIysGYAh8u39dWq-TtqM/s72-c/NetFramework.png" height="72" width="72"/><thr:total>15</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-8412471006975498451</guid><pubDate>Sat, 07 Jul 2012 13:33:00 +0000</pubDate><atom:updated>2012-07-10T20:05:19.095-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Dasar</category><title>Memulai Belajar Pemrograman</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7bJUNqimE5rm8vZE0Z_eghTPQk-pqBYT_zBtcLH-QTYpz0fD3IrL4DTETQMmt9caCkmoZ14PoiX6UwmrijL8P7kaSH9OZbtHahDoCXy19b552SC7KM0WnDp9PVgS9b8LZLDiEhzMdsqY/s1600/thinking_people.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7bJUNqimE5rm8vZE0Z_eghTPQk-pqBYT_zBtcLH-QTYpz0fD3IrL4DTETQMmt9caCkmoZ14PoiX6UwmrijL8P7kaSH9OZbtHahDoCXy19b552SC7KM0WnDp9PVgS9b8LZLDiEhzMdsqY/s1600/thinking_people.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai Sobat, bagaimana sih caranya &lt;b&gt;Memulai Belajar Pemrograman? &lt;/b&gt;Pertanyaan ini harus bisa dijawab oleh sobat yang memang mau &lt;b&gt;belajar pemrograman&lt;/b&gt;, menurut saya, untuk dapat bisa (bisa dulu yah, belum mahir) yang pertama adalah niat untuk bisa, baru yang kedua belajar dasar dasarnya. :)&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dasar untuk &lt;b&gt;pemrograman &lt;/b&gt;adalah logika, terutama logika informatika. Dulu pada saat saya pertama kali belajar pemrograman, saya menghabiskan sekitar 6 minggu hanya untuk materi logika, jadi ketika kita berpindah pindah bahasa, dasar kita sudah ada.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Setelah logika sudah lumayan, baru yang ketiga kita memilih bahasa pemrograman. Ini penting, karena bahasa pertama kalo yang kita kenal, bahasa itu akan selalu teringat (berdasarkan pengalaman saya sih). Nah untuk masalah bahasa ini, saya sarankan untuk belajar bahasa turunan C ( entah itu C, C++,C#, Java, PHP). Kenapa C? karena hampir semua bahasa modern sekarang diturunkan dari bahasa C.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Langkah yang keempat adalah sering sering latihan, buat tantangan untuk sobat,buat masalah baru, kemudian selesaikan sendiri, ulangi dan ulangi agar sobat terbiasa dengan pemrograman itu sendiri. Kenapa sih harus menciptakan tantangan? Karena berdasarkan pengalaman saya, belajar kalau tidak ada motivasinya, rasanya malas sekali, tetapi bila ada tujuannya, maka kita akan semangat untuk dapat menyeleseikannya ( secara otomatis kita belajar).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apakah sudah cukup? Belum, langkah yang terakhir adalah jangan cepat puas, karena masih sangat banyak yang bisa dipelajari, masih banyak konsep yang dapat mempermudah, mempercepat pemrograman, atau performa program yang dihasilkan, tentu dengan dipelajari dulu kan.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nah, sekian dulu postingan saya, saya mau belajar lagi. :)&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/memulai-belajar-pemrograman.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7bJUNqimE5rm8vZE0Z_eghTPQk-pqBYT_zBtcLH-QTYpz0fD3IrL4DTETQMmt9caCkmoZ14PoiX6UwmrijL8P7kaSH9OZbtHahDoCXy19b552SC7KM0WnDp9PVgS9b8LZLDiEhzMdsqY/s72-c/thinking_people.jpg" height="72" width="72"/><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5804371585207198815.post-7842301377321693001</guid><pubDate>Thu, 05 Jul 2012 07:02:00 +0000</pubDate><atom:updated>2012-07-10T20:04:32.741-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Perkenalan</category><title>Perkenalan Blog Baru</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsF99fyxcu_nHJUOWkI_Gd9r-2ENVZBspEtioVCEcI-ulU_fxNS-K9pyYxSIjY6iYNpIq-uogEUT_UuBpYGt9hLwvpwSxooqSRThlBsnkEmZCaAtayvzOrL043Fmt9KPrvaqduENLJBPo/s1600/sayhi.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsF99fyxcu_nHJUOWkI_Gd9r-2ENVZBspEtioVCEcI-ulU_fxNS-K9pyYxSIjY6iYNpIq-uogEUT_UuBpYGt9hLwvpwSxooqSRThlBsnkEmZCaAtayvzOrL043Fmt9KPrvaqduENLJBPo/s320/sayhi.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hai, Ini Blog Saya&amp;nbsp;&lt;a href=&quot;http://duniaedi.blogspot.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Edi Prakoso&lt;/a&gt;&lt;/div&gt;
Di blog ini saya ingin berbagi dan belajar.&lt;br /&gt;
&lt;i&gt;Loh apa maksudnya ??&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Iya, berbagi yang saya tahu, sambil belajar hal hal baru, kasus kasu baru (&lt;i&gt;kayak detektip. he&lt;/i&gt;)&lt;br /&gt;
&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
nah selama ini hal hal yang saya pelajari saya simpan di Hardisk, sampai tidak tahu pada hilang kemana (haha), oleh karena itu, saya tuangkan aja di blog ini, buat pengingat saya, syukur syukur bisa membantu teman teman (cie cie).&lt;/div&gt;
&lt;br /&gt;
ok deh, let&#39;s start blogging!!! :)&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/DuniaEdi&lt;/div&gt;</description><link>http://duniaedi.blogspot.com/2012/07/perkenalan-blog-baru.html</link><author>noreply@blogger.com (Edi Prakoso)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsF99fyxcu_nHJUOWkI_Gd9r-2ENVZBspEtioVCEcI-ulU_fxNS-K9pyYxSIjY6iYNpIq-uogEUT_UuBpYGt9hLwvpwSxooqSRThlBsnkEmZCaAtayvzOrL043Fmt9KPrvaqduENLJBPo/s72-c/sayhi.png" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>