<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://netindonesia.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Agusto Xaverius P Sipahutar : VB.Net</title><link>http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx</link><description>Tags: VB.Net</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>How to deploy the Crystal Reports 2008 Basic Runtime</title><link>http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx</link><pubDate>Fri, 31 Jul 2009 17:46:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:182931</guid><dc:creator>agusto</dc:creator><slash:comments>0</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx#comments</comments><description>&lt;p&gt;Waktu itu saya pernah memposting mengenai deployment Crystal Report dengan menggunakan Crystal Report Visual Studio 2005 (link: &lt;a title="http://geeks.netindonesia.net/blogs/agusto/archive/2009/03/29/crystals-report-deployment-using-net-framework-2-0-merge-modules.aspx" href="http://geeks.netindonesia.net/blogs/agusto/archive/2009/03/29/crystals-report-deployment-using-net-framework-2-0-merge-modules.aspx"&gt;http://geeks.netindonesia.net/blogs/agusto/archive/2009/03/29/crystals-report-deployment-using-net-framework-2-0-merge-modules.aspx&lt;/a&gt;).&lt;/p&gt;  &lt;p&gt;Pada saat saya sudah menggunakan Visual Studio 2008 dan ingin melakukan merge module itu kembali untuk di patch ke client server ternyata cara itu tidak adalagi di Visual Studio 2008. Pada Visual Studio 2008 sudah tidak sertakan lagi .msm (Merge Module) files tersebut, tetapi dari installasi Visual Studio 2008 kita sudah di sertakan 2 file .msi yang langsung di bisa diinstall client server kita. &lt;/p&gt;  &lt;p&gt;2 Files itu adalah CRRedist2008_x86.msi (untuk environment x86) dan CRRedist2008_x64.msi (untuk environment x64).&amp;#160; &lt;/p&gt;  &lt;p&gt;Di OS yang saya miliki 2 files itu berada di C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5.&lt;/p&gt;  &lt;p&gt;Tetapi bila memang ingin mengetahui dimana 2 files .msi itu berada, bisa dilakukan dengan membuat setup installasi dan setelah itu klik kanan –&amp;gt; properties dan setelah itu pilih prerequisites. Dan setelah itu compile maka CRRedist2008_x86.msi dan CRRedist2008_x64.msi&amp;#160; akan di copykan ke setup installer project kita.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Selamat mencoba&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx&amp;amp;subject=How to deploy the Crystal Reports 2008 Basic Runtime" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx&amp;amp;t=How+to+deploy+the+Crystal+Reports+2008+Basic+Runtime" target="_blank" title="Submit How to deploy the Crystal Reports 2008 Basic Runtime to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx&amp;amp;title=How+to+deploy+the+Crystal+Reports+2008+Basic+Runtime" target="_blank" title="Submit How to deploy the Crystal Reports 2008 Basic Runtime to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx&amp;amp;phase=2" target="_blank" title="Submit How to deploy the Crystal Reports 2008 Basic Runtime to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2009/08/01/how-to-deploy-the-crystal-reports-2008-basic-runtime.aspx&amp;amp;title=How+to+deploy+the+Crystal+Reports+2008+Basic+Runtime" target="_blank" title="Add How to deploy the Crystal Reports 2008 Basic Runtime to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=182931" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category></item><item><title>Most Useful 20+ Visual Studio Add-ins</title><link>http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx</link><pubDate>Fri, 23 May 2008 05:23:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:48303</guid><dc:creator>agusto</dc:creator><slash:comments>117</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;This is the list of the Visual Studio Add-ins, most of which are
open source or free. I hope this list will help you to code more faster
and effective. If there is not your favorite add-in in the below list,
do not hesitate to add it as a comment.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.testdriven.net/"&gt;TestDriven.NET&lt;/a&gt;
- makes it easy to run unit tests with a single click, anywhere in your
Visual Studio solutions. It supports all versions of Microsoft Visual
Studio .NET and it integrates with the best .NET development tools
including NCover, NCoverExplorer, Reflector, TypeMock, dotTrace, NUnit,
MbUnit, ZaneBug, MSBee &amp;amp; Team System.&lt;/li&gt;&lt;li&gt;&lt;a href="http://ankhsvn.tigris.org/"&gt;             AnkhSVN&lt;/a&gt; - is a Visual Studio .NET addin for the &lt;a href="http://subversion.tigris.org/"&gt;             Subversion&lt;/a&gt;
version control system. It allows you to perform the most common
version control operations directly from inside the VS.NET IDE. Not all
the functionality provided by SVN is (yet) supported, but the majority
of operations that support the daily workflow are implemented.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.xtreme-simplicity.net/CSharpRefactory.html"&gt;C# Refactory&lt;/a&gt; - performs a large number of &lt;a href="http://www.xtreme-simplicity.net/Refactorings.htm" class=""&gt;refactorings&lt;/a&gt;,
allowing you to re-shape your c-sharp code as needs arise. Refactoring
is an essential part of the extreme programming development approach.
C# refactory enables you to automate many refactorings thus increasing
the reliability and speed with which you can refactor your c-sharp code.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.roland-weigelt.de/ghostdoc/"&gt;   GhostDoc&lt;/a&gt; - is a free add-in for Visual Studio that automatically generates    XML&lt;br /&gt;documentation comments for C#. Either by using existing documentation    inherited&lt;br /&gt;from base classes or implemented interfaces, or by deducing comments    from&lt;br /&gt;name and type of e.g. methods, properties or parameters.&lt;/li&gt;&lt;li&gt; &lt;a href="http://www.ms-inc.net/ViewProduct_SharpTools.aspx"&gt;      SharpTools&lt;/a&gt;
is an extensible add-in to the Microsoft Visual Studio.NET development
environment, and a software development kit (SDK) supporting the &lt;b&gt;rapid&lt;/b&gt; development of further extensions which will run within       SharpTools.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ms-inc.net/ViewProduct_GooglePlugin.aspx"&gt;Google Plugin&lt;/a&gt; - Search Google from Visual Studio .NET&lt;/li&gt;&lt;li&gt;&lt;span id="ctl00_ctl00_ctl00_Content_ProjectBaseMain_ProjectMain_wikiSourceLabel"&gt;&lt;a href="http://www.codeplex.com/ResourceRefactoring"&gt;Resource Refactoring Tool&lt;/a&gt; - provides developers an easy way to extract hard coded strings from the code to resource files.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="ctl00_ctl00_ctl00_Content_ProjectBaseMain_ProjectMain_wikiSourceLabel"&gt;&lt;a href="http://www.codeplex.com/bidshelper"&gt;BIDS Helper&lt;/a&gt; - A set of VS.Net add-ins that extend and enhance the functionality of the SQL Server BI Development Studio. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa718340.aspx"&gt;Power Toys&lt;/a&gt;
for Visual Studio - are small tools that provide aid to developer
pain-points or assist in diagnosing development-related issues. In
addition to providing support, the power toys are released as Microsoft
Shared Source to provide sample code to real-world solutions and allow
for collaborative-development.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.koders.com/info.aspx?c=tools"&gt;Koders IDE&lt;/a&gt;
- enable software developers to perform Koders searches directly from
within the Eclipse or Visual Studio development environments by
extending the reach of the Koders.com open source code index to the
desktop.&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;&lt;a href="http://www.codekeep.net/addins.aspx"&gt;Codekeep&lt;/a&gt; - &lt;/span&gt;Once
you&amp;#39;ve downloaded and installed a CodeKeep add-in, you can manage your
code snippets and search for other code snippets without ever having to
leave Visual Studio.&lt;/li&gt;&lt;li&gt;&lt;a href="http://weblogs.asp.net/nleghari/articles/codeshareaddin.aspx"&gt;CodeShare&lt;/a&gt;
- Add-in is a Visual Studio.NET plugin for sharing code snippets in an
enterprise. It provides menu options within the IDE to contribute and
find code snippets from a central repository.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ms-inc.net/ViewProduct_RssReaderPlugin.aspx"&gt;RSS Blog Reader&lt;/a&gt;
- open source add-in and a full-featured RSS / Blog aggregator which
integrates into the familiar dockable panes of the Visual Studio.NET
IDE.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.csunit.org/"&gt;csUnit&lt;/a&gt; is a free
and open source unit testing tool for the .NET Framework. csUnit works
with all .NET languages including C#, Visual Basic .NET, J#, and
managed C++. It comes with a choice of command line, graphical user
interface, and an addin for Visual Studio.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle.com/technology/tech/dotnet/tools/index.html"&gt;Oracle Developer Tools for Visual Studio .NET&lt;/a&gt; - &lt;span class="bodycopy"&gt;The
Oracle Developer Tools for Visual Studio .NET (ODT) is a tightly
integrated Add-in for Microsoft Visual Studio. Features are &lt;/span&gt;&lt;span class="bodycopy"&gt;generate SQL scripts for Oracle schema, &lt;/span&gt;&lt;span class="bodycopy"&gt;generate ASP.NET web applications with very little coding required, &lt;/span&gt;&lt;span class="bodycopy"&gt;drag and drop and automatically generate .NET code, &lt;/span&gt;&lt;span class="bodycopy"&gt;seamlessly step from your .NET code into your PL/SQL stored  procedure code and back out again, etc...&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="bodycopy"&gt;&lt;a href="http://www.thinktecture.com/Resources/Software/WSContractFirst/default.html"&gt;WSCF&lt;/a&gt; - A Free Visual Studio Add-In and Command Line Tool for ImprovedSchema-Based Contract-First Web Services Design and Programming&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="bodycopy"&gt;&lt;a href="http://www.codeproject.com/csharp/ZipStudio.asp"&gt;ZipStudio&lt;/a&gt; - &lt;/span&gt;provides
a means of zipping up complete or partial Visual Studio solutions and
projects and associated files, directly from in Visual Studio itself.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.crlab.com/mysqldevtools/"&gt;MySQL Developer Tools&lt;/a&gt;
is a powerful add-in designed to simplify the MySQL database
application development process. It integrates into Visual Studio and
Delphi, making all database development and administration tasks
available from your favorite IDE. It provides an easier way to explore
and maintain existing databases, design compound SQL statements, query
and manipulate data in different ways.&lt;/li&gt;&lt;li&gt;&lt;a href="http://commentreflower.sourceforge.net/"&gt;Comment Reflower&lt;/a&gt;
- is an Add-in for Visual Studio 2003 and 2005 to reflow the text in
comments in source files to have even word wrapping. It does more than
simply just wrapping all text in comment blocks.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=VSCmdShell"&gt;VSCmdShell&lt;/a&gt;
- provides users with a shell window inside the Visual Studio IDE that
can be used for Visual Studio commands as well. Current version allows
user to use either Windows Command Shell (cmd.exe) or &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx"&gt;Windows PowerShell&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ibm.com/developerworks/db2/library/techarticle/dm-0703jayakumar/"&gt;IBM Database Add-ins &lt;/a&gt;-
development Add-In and managed provider for the Microsoft .NET platform
includes RAD features, DB2 database project, scripting wizards, and CLR
stored procedures to simplify building DB2 applications using Visual
Studio .NET.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.helixoft.com/vsdocman/overview.html"&gt;VSdocman&lt;/a&gt;
is a tool for commenting and the quick automatic generation of class
documentation from your C# and VB .NET source code files. It is ideal
tool for you if you create .NET component, control, application, smart
device or web site (ASP .NET) projects&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="bodycopy"&gt;&lt;a href="http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/"&gt;CopySourceAsHtml&lt;/a&gt; - &lt;/span&gt;An
add-in for Microsoft Visual Studio 2005 that allows you to copy source
code, syntax highlighting, and line numbers as HTML. CSAH uses Visual
Studio&amp;#39;s syntax highlighting and font and color settings automatically.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codexchange.net/"&gt;Codexchange&lt;/a&gt; - &lt;span&gt;is
an Visual Studio.NET add-in providing you with instant integrated
access to an online repository of ready to use .NET code snippets&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;a href="http://www.adonetexpress.com/"&gt;ADO.NET Express&lt;/a&gt;
- is an add-in for Visual Studio 2003 that automates common tasks of
writing repetitive data access code. ADO.NET Express generates class
methods for calling stored procedures and executing common types of SQL
statements.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="ctl00_ctl00_ctl00_Content_ProjectBaseMain_ProjectMain_wikiSourceLabel"&gt;&lt;a href="http://www.codeplex.com/vstypefinderaddin"&gt;VSTypeFinderAddin&lt;/a&gt; - for Visual Studio 2005 provides the possibility to search for all classes, structs, enums and delegates in a solution.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;a href="http://www.geocities.com/m_mesalem/aop"&gt;AopDotNetAddIn&lt;/a&gt;
- is a Visual Studio AddIn that provides the aspect oriented
capabilities to the .Net languages (C#,VB.Net,J#), this AddIn was
developed as a graduation project&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;a href="http://www.codeplex.com/reflectoraddins"&gt;Reflector&lt;/a&gt;
is the class browser, explorer, analyzer and documentation viewer for
.NET. Reflector allows to easily view, navigate, search, decompile and
analyze .NET assemblies in C#, Visual Basic and IL.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class="fullpost"&gt;&lt;span style="font-style:italic;"&gt;[Updated 25/07/2007]&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.usysware.com/dpack/"&gt;DPack&lt;/a&gt;–
Free collection of VS .NET 2003 and 2005 tools. Brings tools designed
for greatly increase developer’s productivity, automate repetitive
processes and expand upon some of VS features.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.rauchy.net/regionerate/"&gt;Regionerate&lt;/a&gt;
(pronounced ri-jeh-neh-rate) is a new open-source tool for developers
and team leaders that allows you to automatically apply layout rules on
C# code.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&amp;amp;displaylang=en"&gt;Consolas&lt;/a&gt;
is intended for use in programming environments and other circumstances
where a monospaced font is specified. All characters have the same
width, like old typewriters, making it a good choice for personal and
business correspondence. Optimizing the font specifically for ClearType
allowed a design with proportions closer to normal text than
traditional monospaced fonts like Courier. This allows for more
comfortable reading of extended text on-screen.&lt;/li&gt;&lt;li&gt;&lt;span class="title"&gt;&lt;/span&gt;&lt;a href="http://www.csharper.net/blog/project_mru_cleaner_add_in_updated___version_1_0_0_2_available.aspx" id="ctl00_Body_postControl_hypTitle" class="h1"&gt;Project MRU Cleaner Add-In&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.csharper.net/blog/_explore_in_windows__add_in_for_visual_studio_2005.aspx" id="ctl00_Body_postControl_hypTitle" class="h1"&gt;Explore In Windows Add-In for Visual Studio 2005&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight:bold;"&gt;Resources and Articles on Visual Studio Add-in&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.samspublishing.com/articles/article.asp?p=25874&amp;amp;rl=1"&gt;Creating Visual Studio .NET Add-Ins&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/06/07/CodeAndSeek/default.aspx"&gt;Bring Windows Desktop Search Into Visual Studio With Our Cool Add-In&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/useritems/vstoolwindow.asp"&gt;Creating a tool window add-in with Visual Studio 2005&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/tools/vs2005addinmgr.asp"&gt;Addin Manager for VS 2002-2005&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/useritems/AddinCustomAction.asp"&gt;A Custom Action for Deploying Visual Studio 2005 Add-in&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/mgold/AddIns11292005015631AM/AddIns.aspx"&gt;Tutorial : Creating Visual Studio Add-Ins&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/csharp/LineCounterAddin.asp"&gt;Line Counter - Writing a Visual Studio 2005 Add-In&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/06/02/PasteAs/"&gt;A Visual Studio Add-In That Converts C# Code To Visual Basic&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blogs.msdn.com/powertoys/"&gt;Powertoys WebLog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ms-inc.net/Powertools.aspx"&gt;More Freeware SharpTools Plug-ins&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blogs.msdn.com/jannemattila/archive/2007/03/04/visual-studio-add-in-use-vista-search-directly-from-visual-studio.aspx"&gt;Visual Studio Add-in: Use Vista Search directly from Visual Studiot&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/List_of_Microsoft_Visual_Studio_Add-ins"&gt;List of Microsoft Visual Studio Add-ins&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;for detail info you can click on this link : &lt;a href="http://www.plentyofcode.com/2007/07/most-useful-top-15-visual-studio-add.html"&gt;http://www.plentyofcode.com/2007/07/most-useful-top-15-visual-studio-add.html&lt;/a&gt; &lt;/span&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx&amp;amp;subject=Most Useful 20+ Visual Studio Add-ins" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx&amp;amp;t=Most+Useful+20%2b+Visual+Studio+Add-ins" target="_blank" title="Submit Most Useful 20+ Visual Studio Add-ins to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx&amp;amp;title=Most+Useful+20%2b+Visual+Studio+Add-ins" target="_blank" title="Submit Most Useful 20+ Visual Studio Add-ins to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx&amp;amp;phase=2" target="_blank" title="Submit Most Useful 20+ Visual Studio Add-ins to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2008/05/23/most-useful-20-visual-studio-add-ins.aspx&amp;amp;title=Most+Useful+20%2b+Visual+Studio+Add-ins" target="_blank" title="Add Most Useful 20+ Visual Studio Add-ins to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=48303" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.Net+_2800_VB.Net_2F00_C_23002900_/default.aspx">ASP.Net (VB.Net/C#)</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>NDoc For .Net 2.0</title><link>http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx</link><pubDate>Thu, 03 Aug 2006 19:50:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:10497</guid><dc:creator>agusto</dc:creator><slash:comments>54</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx#comments</comments><description>&lt;P&gt;NDoc generates API documentation from .NET assemblies and XML documentation comment files.&lt;BR&gt;The current stable version of NDoc (1.3.1) only supports the .Net framework versions 1.0 and 1.1. This versions is being developed by Jonas Lagerblad and supports the .Net framework version 2.0 &lt;/P&gt;
&lt;P&gt;These downloads are offered as a mirror of the official files. Please make sure you check &lt;A href="http://jonas.lagerblad.com/blog/?p=4"&gt;http://jonas.lagerblad.com/blog/?p=4&lt;/A&gt; for updates. &lt;BR&gt;Downloads&lt;BR&gt;&lt;A href="http://www.vehemence.org.uk/files/ndoc/ndoc-bin-1.3.1-v13.zip"&gt;ndoc-bin-1.3.1-v13.zip&lt;/A&gt;&lt;BR&gt;&lt;A href="http://www.vehemence.org.uk/files/ndoc/ndoc-src-1.3.1-v13.zip"&gt;ndoc-src-1.3.1-v13.zip&lt;/A&gt;.&lt;/P&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx&amp;amp;subject=NDoc For .Net 2.0" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx&amp;amp;t=NDoc+For+.Net+2.0" target="_blank" title="Submit NDoc For .Net 2.0 to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx&amp;amp;title=NDoc+For+.Net+2.0" target="_blank" title="Submit NDoc For .Net 2.0 to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx&amp;amp;phase=2" target="_blank" title="Submit NDoc For .Net 2.0 to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2006/08/04/10497.aspx&amp;amp;title=NDoc+For+.Net+2.0" target="_blank" title="Add NDoc For .Net 2.0 to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=10497" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.Net+_2800_VB.Net_2F00_C_23002900_/default.aspx">ASP.Net (VB.Net/C#)</category></item><item><title>Xml Web Service dengan SOAP dan Visual Basic 6.0</title><link>http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx</link><pubDate>Tue, 01 Aug 2006 13:27:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:10460</guid><dc:creator>agusto</dc:creator><slash:comments>1</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx#comments</comments><description>&lt;table border="0" width="85%" id="table1"&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;b&gt;Xml Web Service dengan SOAP dan Visual Basic 6.0&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;font size="2" face="Times New Roman"&gt;Di web service .net akan kita bisa lihat penjelasan SOAP seperti ini : SOAP &lt;br&gt;The following is a sample SOAP request and 
    response. Method nya : 
   &lt;/font&gt;
  &lt;p&gt;&amp;nbsp;&lt;/p&gt;
   &lt;table border="0" width="100%" id="table1" bgcolor="#e5e5cc"&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;font size="2"&gt;POST /_vti_bin/routingservices.asmx HTTP/1.1&lt;br&gt;
  Host: wsstemplate&lt;br&gt;
  Content-Type: text/xml; charset=utf-8&lt;br&gt;
  Content-Length: length&lt;br&gt;
  SOAPAction: 
  &amp;quot;http://www.plasmedia.com/ffi/SharepointRoutingWS/GetDepartmentList&amp;quot;&lt;br&gt;
  &lt;br&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br&gt;
  &amp;lt;soap:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; 
  xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema 
  xmlns:soap=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;soap:Body&amp;gt;&lt;br&gt;
  &amp;lt;GetDepartmentList 
  xmlns=&amp;quot;http://www.plasmedia.com/ffi/SharepointRoutingWS&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;listName&amp;gt;string&amp;lt;/listName&amp;gt;&lt;br&gt;
  &amp;lt;/GetDepartmentList&amp;gt;&lt;br&gt;
  &amp;lt;/soap:Body&amp;gt;&lt;br&gt;
  &amp;lt;/soap:Envelope&amp;gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt; 
  &lt;br&gt;
  Result yang akan di hasilkan : &lt;br&gt;
 &lt;table border="0" width="100%" id="table1" bgcolor="#e5e5cc"&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;font size="2"&gt;HTTP/1.1 200 OK&lt;br&gt;
  Content-Type: text/xml; charset=utf-8&lt;br&gt;
  Content-Length: length&lt;br&gt;
  &lt;br&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br&gt;
  &amp;lt;soap:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; 
  xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; 
  xmlns:soap=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;soap:Body&amp;gt;&lt;br&gt;
  &amp;lt;GetDepartmentListResponse 
  xmlns=&amp;quot;http://www.plasmedia.com/ffi/SharepointRoutingWS&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;GetDepartmentListResult&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DeptInfo&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;ID&amp;gt;string&amp;lt;/ID&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;Name&amp;gt;string&amp;lt;/Name&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DeptInfo&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DeptInfo&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;ID&amp;gt;string&amp;lt;/ID&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;Name&amp;gt;string&amp;lt;/Name&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DeptInfo&amp;gt;&lt;br&gt;
  &amp;lt;/GetDepartmentListResult&amp;gt;&lt;br&gt;
  &amp;lt;/GetDepartmentListResponse&amp;gt;&lt;br&gt;
  &amp;lt;/soap:Body&amp;gt;&lt;br&gt;
  &amp;lt;/soap:Envelope&amp;gt;&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt; 
&lt;/td&gt;&lt;/tr&gt;   
 &lt;tr&gt;
  &lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;   
 &lt;tr&gt;
  &lt;td&gt;&lt;font face="Times New Roman" size="2"&gt;Penggunaannya di visual basic 
  6.0 / VBA :&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;   
 &lt;tr&gt;
  &lt;td&gt;&lt;table border="0" width="100%" id="table2"&gt;
   &lt;tr&gt;
       &lt;td width="10"&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;font size="2" face="Times New Roman"&gt;Dim xmlhttp, xmldom &lt;br&gt;
    Set xmlhttp = CreateObject(&amp;quot;Microsoft.XMLHTTP&amp;quot;)&lt;br&gt;
    set xmldom = CreateObject(&amp;quot;Microsoft.XMLDOM&amp;quot;)&lt;br&gt;
    &lt;br&gt;
    Dim sEnvelope &lt;br&gt;
    Dim szUrl &lt;br&gt;
    szUrl = &amp;quot;http://wsstemplate/ffi/_vti_bin/routingservices.asmx&amp;quot;&lt;br&gt;
    &lt;br&gt;
    sEnvelope = &amp;quot;&amp;lt;soap:Envelope xmlns:xsi=&amp;quot;&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;quot; 
    xmlns:xsd=&amp;quot;&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;quot; xmlns:soap=&amp;quot;&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;&amp;quot;&amp;gt;&amp;quot;&lt;br&gt;
    &lt;br&gt;
    sEnvelope = sEnvelope &amp;amp; &amp;quot;&amp;lt;soap:Body&amp;gt;&amp;quot;&lt;br&gt;
    sEnvelope = sEnvelope &amp;amp; &amp;quot;&amp;lt;GetDepartmentList &amp;quot; &lt;br&gt;
    sEnvelope = sEnvelope &amp;amp; &amp;quot;xmlns=&amp;quot;&amp;quot;http://www.plasmedia.com/ffi/SharepointRoutingWS&amp;quot;&amp;quot;&amp;gt;&amp;quot;&lt;br&gt;
    sEnvelope = sEnvelope &amp;amp; &amp;quot;&amp;lt;listName&amp;gt;Department Info&amp;lt;/listName&amp;gt;&amp;quot;&lt;br&gt;
    &lt;br&gt;
    sEnvelope = sEnvelope &amp;amp; &amp;quot;&amp;lt;/GetDepartmentList&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;&amp;quot;
    &lt;br&gt;
    &lt;br&gt;
    xmlhttp.Open &amp;quot;POST&amp;quot;, szUrl, False &lt;br&gt;
    xmlhttp.setRequestHeader &amp;quot;Content-Type&amp;quot;, &amp;quot;text/xml&amp;quot;&lt;br&gt;
    xmlhttp.setRequestHeader &amp;quot;SOAPAction&amp;quot;, &amp;quot;http://www.plasmedia.com/ffi/SharepointRoutingWS/GetDepartmentList&amp;quot;&lt;br&gt;
    xmlhttp.send (sEnvelope)&lt;br&gt;
    &lt;br&gt;
    If (xmlhttp.readyState = 4) Then&lt;/font&gt;&lt;p&gt;
    &lt;font face="Times New Roman" size="2"&gt;&amp;nbsp;If (xmlhttp.Status = 200) 
    Then&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmldom.async = False&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmldom.loadXML(xmlhttp.responseText) 'Hasil ini 
    akan di hasilkan result XMl sesuai dengan hasil yg jelaskan 
    diatas&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox xmlhttp.responseText&lt;/font&gt;&lt;/p&gt;
    &lt;p&gt;&lt;font size="2" face="Times New Roman"&gt;&amp;nbsp;End If&lt;br&gt;
    End If&lt;br&gt;
    &lt;/font&gt;&lt;font face="Times New Roman" size="2"&gt;&lt;br&gt;
    Set xmldom = Nothing&lt;br&gt;
    Set xmlhttp = Nothing&lt;/font&gt;&lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;   
&lt;/table&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx&amp;amp;subject=Xml Web Service dengan SOAP dan Visual Basic 6.0" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx&amp;amp;t=Xml+Web+Service+dengan+SOAP+dan+Visual+Basic+6.0" target="_blank" title="Submit Xml Web Service dengan SOAP dan Visual Basic 6.0 to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx&amp;amp;title=Xml+Web+Service+dengan+SOAP+dan+Visual+Basic+6.0" target="_blank" title="Submit Xml Web Service dengan SOAP dan Visual Basic 6.0 to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx&amp;amp;phase=2" target="_blank" title="Submit Xml Web Service dengan SOAP dan Visual Basic 6.0 to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2006/08/01/10460.aspx&amp;amp;title=Xml+Web+Service+dengan+SOAP+dan+Visual+Basic+6.0" target="_blank" title="Add Xml Web Service dengan SOAP dan Visual Basic 6.0 to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=10460" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB+6.0/default.aspx">VB 6.0</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category></item><item><title>Upload File to Database SQL Server 97/2000</title><link>http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx</link><pubDate>Tue, 25 Apr 2006 19:41:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:9437</guid><dc:creator>agusto</dc:creator><slash:comments>0</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx#comments</comments><description>&lt;TABLE id=table1 width="60%" border=0&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;FONT face=Arial&gt;Ini bisa di sebut dengan &lt;STRONG&gt;BLOB / Binary Large Object.&lt;/STRONG&gt;&amp;nbsp; Jadi pastilah document ataupun image yang kita punyai akan di konvert ke binary dulu setelah itu simpan ke data base kita dengan type binary juga.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;Contoh bisa di lihat di MSDN cari dengan keyword BLOB, di sini juga saya berikan contoh nya :&lt;/FONT&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;TABLE id=table1 width="80%" border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colSpan=3&gt;
&lt;P&gt;Imports System&lt;BR&gt;Imports System.Data&lt;BR&gt;Imports System.Data.SqlClient&lt;BR&gt;Imports System.IO&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Public Class TestBLOB&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;Public Shared Sub Main()&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="3%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%"&gt;AddBLOBtoDatabase()&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;End Sub&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;Public Shared Sub AddBLOBtoDatabase()&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="3%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%"&gt;Dim byFile() as Byte = GetPhoto(&amp;#8220;C:\test.txt&amp;#8220;)&lt;BR&gt;&amp;nbsp; 
&lt;P&gt;SqlConnection conn = new SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=TESTDATABASE;");&lt;BR&gt;&lt;BR&gt;SqlCommand cmd = new SqlCommand("INSERT INTO DOCS ([Document]) " +&lt;BR&gt;"Values(@File)", Conn);&lt;BR&gt;&lt;BR&gt;cmd .Parameters.Add(&amp;#8220;@File", SqlDbType.Image, photo.Length).Value = byFile;&lt;BR&gt;&lt;BR&gt;conn.Open(); // Open Connection&lt;BR&gt;&lt;BR&gt;cmd.ExecuteNonQuery(); //Execute Query&lt;BR&gt;&lt;BR&gt;conn.Close(); //Close Connection&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;End Sub&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;Public Shared Function GetFile(sFilePath as string) as byte()&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="3%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%"&gt;Dim fs As FileStream = new FileStream(sFilePath, FileMode.Open, FileAccess.Read) //read File&lt;BR&gt;Dim br As BinaryReader = new BinaryReader(fs) &lt;BR&gt;&lt;BR&gt;Dim byFile() As Byte = br.ReadBytes(fs.Length)&lt;BR&gt;&lt;BR&gt;br.Close()&lt;BR&gt;fs.Close()&lt;BR&gt;&lt;BR&gt;Return byFile&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="4%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="93%" colSpan=2&gt;&lt;B&gt;End Function&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="98%" colSpan=3&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="98%" colSpan=3&gt;&lt;B&gt;End Class&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx&amp;amp;subject=Upload File to Database SQL Server 97/2000" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx&amp;amp;t=Upload+File+to+Database+SQL+Server+97%2f2000" target="_blank" title="Submit Upload File to Database SQL Server 97/2000 to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx&amp;amp;title=Upload+File+to+Database+SQL+Server+97%2f2000" target="_blank" title="Submit Upload File to Database SQL Server 97/2000 to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx&amp;amp;phase=2" target="_blank" title="Submit Upload File to Database SQL Server 97/2000 to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2006/04/26/9437.aspx&amp;amp;title=Upload+File+to+Database+SQL+Server+97%2f2000" target="_blank" title="Add Upload File to Database SQL Server 97/2000 to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=9437" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.Net+_2800_VB.Net_2F00_C_23002900_/default.aspx">ASP.Net (VB.Net/C#)</category></item><item><title>Working Load XML with XPATH and Namespace</title><link>http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx</link><pubDate>Wed, 21 Dec 2005 15:59:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:8189</guid><dc:creator>agusto</dc:creator><slash:comments>47</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx#comments</comments><description>&lt;TABLE width="100%" border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="WIDTH: 969px"&gt;&lt;FONT color=#000000&gt;&lt;STRONG&gt;&lt;U&gt;Tips yang mungkin bisa berguna&lt;BR&gt;&lt;/U&gt;&lt;BR&gt;&lt;/STRONG&gt;Bila kita mempunyai XML data yang menggunakan Namespace tetapit tidak memiliki perfix, akan terjadi sedikit masalah dalam pembuatan query pada XPAT di XML.&lt;BR&gt;&lt;BR&gt;Misalnya datanya sebagai berikut :&lt;BR&gt;&lt;/FONT&gt;
&lt;DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"&gt;&lt;BR&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;CodeFile&lt;/SPAN&gt;&lt;SPAN class=ns style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;="&lt;/SPAN&gt;&lt;B class=ns&gt;&lt;SPAN style="COLOR: #ff0000"&gt;urn:sample:CodeFile&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;RetailerId&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;56d1a8f6-f748-405d-90dd-c20dea1053de&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;RetailerId&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Store&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;StoreID&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;faeb5402-3202-4f46-a530-0c631ac054ee&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;StoreID&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Till&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;TillID&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;90ccda47-939d-46c2-b705-30d83b0f5f3f&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;TillID&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Genre&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Genre&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;Reward&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Genre&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;CodeGroup&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Telco&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Telco&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Divider&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;500&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Divider&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;LowValue&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;LowValue&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;HighValue&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;20000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;HighValue&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Action&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Action&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Codes&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Code&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;008225996472286053&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Code&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=b style="COLOR: #ff0000; FONT-FAMILY: Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Code&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=tx&gt;&lt;STRONG&gt;007133082893966958&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Code&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;&lt;FONT color=#000000&gt;Codes&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;&amp;gt;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;&lt;FONT color=#000000&gt;CodeGroup&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;&amp;gt;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;&lt;FONT color=#000000&gt;Genre&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;&lt;FONT color=#000000&gt;Till&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;BR&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;/&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;Store&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;/&lt; SPAN&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;CodeFile&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;FONT color=#000000&gt;Sedikit kendala pada xml ini adalah namespace ada tapi prefix tidak ada bisa di lihat pada tag xml ini : &lt;BR&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=t style="COLOR: #990000"&gt;CodeFile&lt;/SPAN&gt;&lt;SPAN class=ns style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;="&lt;/SPAN&gt;&lt;B class=ns&gt;&lt;SPAN style="COLOR: #ff0000"&gt;urn:sample:CodeFile&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&amp;gt;, &lt;BR&gt;&lt;SPAN style="COLOR: #000000"&gt;Namespace nya adalah&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="COLOR: #ff0000"&gt;urn:sample:CodeFile&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;Tetapi prefix tidak ada.&lt;BR&gt;&lt;BR&gt;Pada tag tag yang akan kita query akan sedikit bermasalah karena node tersebut tidak akan bisa di load di XPATH bila namespace dan prefix tidak di set pada XPATH nya dengan benar.&lt;BR&gt;&lt;BR&gt;Sehingga kita harus mengupayakan XML ini mempunyai namespace dan prefix dan kita bisa load dengan benar.&lt;BR&gt;&lt;BR&gt;Konsepnya adalah kita load XML ini update &lt;SPAN style="COLOR: #ff0000"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;="&lt;/SPAN&gt;&lt;B class=ns&gt;&lt;SPAN style="COLOR: #ff0000"&gt;urn:sample:CodeFile&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;" &lt;/FONT&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;FONT color=#000000&gt;sehingga mempunyai prefix misalnya kita buat prefixnya akan menjadi spt ini &lt;SPAN style="COLOR: #ff0000"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;:M="&lt;/SPAN&gt;&lt;B class=ns&gt;&lt;SPAN style="COLOR: #ff0000"&gt;urn:sample:CodeFile&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;SPAN class=m style="COLOR: #0000ff"&gt;&lt;FONT color=#000000&gt;". &lt;/FONT&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;FONT color=#000000&gt;Jadi nantinya XML tersebut memiliki prefix yaitu M.&lt;BR&gt;&lt;BR&gt;Contoh Sintaxnya adalah sebagai berikut :&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT color=#000000&gt;&lt;FONT color=#000080&gt;StreamReader myStremReader = System.IO.File.OpenText(sfilename);&amp;nbsp; // Load data xml fisik filenya&lt;BR&gt;string strTmp = myStremReader.ReadLine(); //read satu baris&lt;BR&gt;myStrBuilder.Append(strTmp.Replace("xmlns=","xmlns:M=")); &amp;nbsp; //update xmlnya sehingga memiliki prefix&lt;BR&gt;myStrBuilder.Append(myStremReader.ReadToEnd()); //read sisa datanya dan semua nya di gabungkan kembali di StringBuilder&lt;BR&gt;myStremReader.Close(); //Close load file&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;Dan sisanya bisa lakukan XMLNameSpaceManager,XPATH seperti biasanya&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx&amp;amp;subject=Working Load XML with XPATH and Namespace" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx&amp;amp;t=Working+Load+XML+with+XPATH+and+Namespace" target="_blank" title="Submit Working Load XML with XPATH and Namespace to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx&amp;amp;title=Working+Load+XML+with+XPATH+and+Namespace" target="_blank" title="Submit Working Load XML with XPATH and Namespace to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx&amp;amp;phase=2" target="_blank" title="Submit Working Load XML with XPATH and Namespace to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2005/12/21/8189.aspx&amp;amp;title=Working+Load+XML+with+XPATH+and+Namespace" target="_blank" title="Add Working Load XML with XPATH and Namespace to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=8189" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.Net+_2800_VB.Net_2F00_C_23002900_/default.aspx">ASP.Net (VB.Net/C#)</category></item><item><title>Embedded Icon / Image to Resources</title><link>http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx</link><pubDate>Wed, 23 Nov 2005 14:23:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:7963</guid><dc:creator>agusto</dc:creator><slash:comments>0</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx#comments</comments><description>&lt;DIV&gt;&lt;STRONG&gt;CMIWW.&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;Biasanya kita melakukan load image atau icon seperti code sebagai berikut &amp;nbsp;&lt;BR&gt;public Form1(){&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Load a file from the file system&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.BackgroundImage&amp;nbsp;=&amp;nbsp;new&amp;nbsp;Bitmap(@"C:\image\wallpaper.jpg");&lt;BR&gt;}&lt;BR&gt;&lt;BR&gt;Kelemahan coding adalah pada saat penginstalan ke client pastikan folder dan file tersebut berada di yang kita inginkan bila tidak applikasi tidak akan menload image yang ada karena memang tidak ada di folder tersebut.&lt;BR&gt;Ataupun kita melakukan dengan menggunakan applikasi path tempat applikasi berada dan file image/icon tersebut ada di folder tempat penginstalan dan ternyata file di terdelete secara manual.Salah satu solusi yang bisa kita lakukan adalah image / icon yang kita inginkan kita embedded ke applikasi kita. &lt;BR&gt;Hal-hal yang di lakukan :&lt;BR&gt;1.Copy file kita inginkan ke solution applikasi kita.&lt;BR&gt;2.Set property di image/icon yang ada&lt;BR&gt;Pada property Build Action set menjadi Embedded Resource&lt;BR&gt;3.Load File programming.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&lt;SPAN style="COLOR: blue"&gt;using &lt;/SPAN&gt;System.Reflection;&lt;BR&gt;//tambahan namespace ini pada applikasi window formnya &lt;BR&gt;&lt;SPAN style="COLOR: blue"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="COLOR: blue"&gt;namespace&lt;/SPAN&gt;&amp;nbsp;TEST&lt;/DIV&gt;
&lt;DIV&gt;{&lt;BR&gt;&lt;SPAN style="COLOR: blue"&gt;static&lt;/SPAN&gt;&amp;nbsp;void&amp;nbsp;()&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp; Application.Run(&lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt;&amp;nbsp;Form1));&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Assembly&amp;nbsp;myassem= &amp;nbsp;this.GetType().Assembly;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.IO.Stream streamico = myassem.GetManifestResourceStream(&lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.GetType ().Namespace.ToString&amp;nbsp;()&amp;nbsp;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ".GEARS.ico");&lt;BR&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color=#000000&gt;this.Icon new Icon(streamico);&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color=#000000&gt;//&lt;SPAN class=SpellE&gt;Atau&lt;/SPAN&gt; yang Form background imagenya&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.Stream streambgk = myassem.GetManifestResourceStream(&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.GetType().Namespace.ToString()+ ".wallpaper.jpg");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.BackgroundImage = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; Bitmap(streambgk);&lt;BR&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="COLOR: blue"&gt;&lt;FONT color=#000000&gt;}//ending namespace&lt;/FONT&gt;&lt;/DIV&gt;&lt;/SPAN&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx&amp;amp;subject=Embedded Icon / Image to Resources" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx&amp;amp;t=Embedded+Icon+%2f+Image+to+Resources" target="_blank" title="Submit Embedded Icon / Image to Resources to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx&amp;amp;title=Embedded+Icon+%2f+Image+to+Resources" target="_blank" title="Submit Embedded Icon / Image to Resources to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx&amp;amp;phase=2" target="_blank" title="Submit Embedded Icon / Image to Resources to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2005/11/23/7963.aspx&amp;amp;title=Embedded+Icon+%2f+Image+to+Resources" target="_blank" title="Add Embedded Icon / Image to Resources to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=7963" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category></item><item><title>Free .NET Development Tools</title><link>http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx</link><pubDate>Wed, 02 Nov 2005 14:38:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:7793</guid><dc:creator>agusto</dc:creator><slash:comments>0</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx#comments</comments><description>&lt;DIV&gt;&lt;STRONG&gt;This some free .Net Development tool and all that stuff is really &amp;#8220;FREE&amp;#8220;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;1. Nant&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;Namt is a build tool. Build scripts are written that can perform tasks on your build server. Tasks are a-plenty, but typical tasks include the ability to build .NET solutions, run unit tests, copy files, make and delete directories and many more. In fact, with the ability to write custom takss for Nanr, there are plenty of possibilities. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://nant.sourceforge.net/"&gt;http://nant.sourceforge.net/&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;2. CruiseControl.NET&lt;/STRONG&gt; &lt;BR&gt;CruiseControl.NET is an Automated Continuous Integration server for .NET. CruiseControl.NET will monitor your source control repository and run your build scripts at set intervals, or whenever a file is checked in. CruiseControl.NET also provides a dashboard web application to view logs and status, plus a system tray application for all developers to install. This way, everyone knows who broke the build! &lt;/DIV&gt;
&lt;DIV&gt;url : &lt;A href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET"&gt;http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;3. Nunit&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV&gt;If you're not already unit testing your code, then you certiainly should be. Nunit allows you to write unit tests in your .NET language against your code. The GUI is easy to use and gives a developer confidence to make changes to code. Nunit can be integrated into your build (Nant) so tests can be automated. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://www.nunit.org/"&gt;http://www.nunit.org/&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;4.NunitASP&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV&gt;Like Nunit, NunitASP is for unit testing.But in the case of NunitASP, this is an Nunit extension that is used to test the code-behind pages o your ASP.NET applications. You can program tests to click buttons, select an array of web controls and other useful features. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://nunitasp.sourceforge.net/"&gt;http://nunitasp.sourceforge.net/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;5. TestDriven.NET TestDriven.NET&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV&gt;is a free add-in for Visual Studio that piggy-backs on Nunit. It adds quick access, right mouse click functionality to run your unit tests, showing the results in the output window. You can even debug your tests from the right mouse button. Url : http://www.testdriven.net/ 5. RegEx Designer.NET If you've written validation for your .NET sites, regular expressions can be a pain to get to grips with. The RegExDesigner allows you to test out your regular expressions and even generate .NET code from your regular expressions. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://www.sellsbrothers.com/tools/#regexd"&gt;http://www.sellsbrothers.com/tools/#regexd&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;6. FxCop FxCop&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV&gt;is a code analysis tool that checks your code for standards conformance. GUI and command line is available and again can be automatically run via your build script. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://www.gotdotnet.com/team/fxcop"&gt;http://www.gotdotnet.com/team/fxcop&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;7. NDoc&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV&gt;NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler Ndoc allows you to produce HTML or MSDN Style documentation.. Using Ndoc is as simple as filling in your .NET XML Comments. &lt;/DIV&gt;
&lt;DIV&gt;Url : &lt;A href="http://ndoc.sourceforge.net/"&gt;http://ndoc.sourceforge.net/&lt;/A&gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx&amp;amp;subject=Free .NET Development Tools" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx&amp;amp;t=Free+.NET+Development+Tools" target="_blank" title="Submit Free .NET Development Tools to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx&amp;amp;title=Free+.NET+Development+Tools" target="_blank" title="Submit Free .NET Development Tools to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx&amp;amp;phase=2" target="_blank" title="Submit Free .NET Development Tools to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2005/11/02/7793.aspx&amp;amp;title=Free+.NET+Development+Tools" target="_blank" title="Add Free .NET Development Tools to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=7793" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category><category domain="http://netindonesia.net/blogs/agusto/archive/tags/ASP.Net+_2800_VB.Net_2F00_C_23002900_/default.aspx">ASP.Net (VB.Net/C#)</category></item><item><title>Tips mewarnai datagrid row</title><link>http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx</link><pubDate>Tue, 30 Aug 2005 15:53:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:6672</guid><dc:creator>agusto</dc:creator><slash:comments>0</slash:comments><comments>http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx#comments</comments><description>&lt;DIV&gt;Mungkin rekan rekan .Net mungkin punya yang lebih bagus tolong beritahu yach.... &lt;/DIV&gt;
&lt;DIV&gt;Sebab saya juga mendapatkannya dari salah satu situs cuman saya lupa urlnya&lt;/DIV&gt;
&lt;DIV&gt; &lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;1. Control ComDataGridBoolColumn.vb&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/FONT&gt; &lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;Option&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Strict&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Off&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;Option&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Explicit&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;On&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;Public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Class&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; ComDataGridBoolColumn&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;Inherits&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; System.Windows.Forms.DataGridBoolColumn&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; sMappingName &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; sHeaderText &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; iColWidth &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; iMaxLength &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; sAlignment &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; bIsReadOnly &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Boolean&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.MappingName = sMappingName&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.HeaderText = sHeaderText&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.Width = iColWidth&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;.AllowNull = &lt;/FONT&gt;&lt;FONT size=2&gt;True&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;.NullValue = &lt;/FONT&gt;&lt;FONT size=2&gt;False&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.Alignment = sAlignment&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.ReadOnly = bIsReadOnly&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Sub&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;Protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Overloads&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Overrides&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; Paint(&lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; g &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Graphics, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; bounds &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Rectangle, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; source &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; CurrencyManager, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; rowNum &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; backBrush &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Brush, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; foreBrush &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Brush, &lt;/FONT&gt;&lt;FONT size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; alignToRight &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;Boolean&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; rowNum &lt;/FONT&gt;&lt;FONT size=2&gt;Mod&lt;/FONT&gt;&lt;FONT size=2&gt; 2 = 0 &lt;/FONT&gt;&lt;FONT size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;backBrush = Brushes.LightGoldenrodYellow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;MyBase&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.Paint(g, bounds, source, rowNum, backBrush, foreBrush, alignToRight)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Sub&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT color=#000000 size=2&gt;Class&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Option&lt;/FONT&gt;&lt;FONT color=#000000&gt; Strict &lt;/FONT&gt;&lt;FONT color=#000000&gt;Off&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Option&lt;/FONT&gt;&lt;FONT color=#000000&gt; Explicit On &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000&gt; Class&lt;/FONT&gt;&lt;FONT color=#000000&gt; ComDataGridBoolColumn&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Inherits&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Windows.Forms.DataGridBoolColumn&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Public Sub New(ByVal sMappingName As String, ByVal sHeaderText As String, ByVal iColWidth As Integer, ByVal iMaxLength As Integer, ByVal sAlignment As String, ByVal bIsReadOnly As Boolean&lt;/FONT&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.MappingName = sMappingName&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.HeaderText = sHeaderText&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Width = iColWidth&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;MyBase.AllowNull = True&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;MyBase.NullValue = False&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Alignment = sAlignment&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.ReadOnly = bIsReadOnly&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End Sub&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Protected Overloads Overrides Sub Paint(ByVal g As Graphics, ByVal bounds As Rectangle, ByVal source As CurrencyManager, ByVal rowNum As Integer, ByVal backBrush As Brush, ByVal foreBrush As Brush, ByVal alignToRight As Boolean&lt;/FONT&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;If rowNum Mod 2 = 0 Then   ''' -&gt; di sini bila yang genap maka di warnai dengan warna Brushes.LightGoldenrodYellow&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;backBrush = Brushes.LightGoldenrodYellow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End If&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Paint(g, bounds, source, rowNum, backBrush, foreBrush, alignToRight)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;End &lt;/FONT&gt;&lt;FONT color=#000000&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;End&lt;/FONT&gt;&lt;FONT color=#000000&gt; Class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT color=#000000&gt;2. Control ComDatagridTextBoxColumn.vb&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Option&lt;/FONT&gt;&lt;FONT color=#000000&gt; Strict &lt;/FONT&gt;&lt;FONT color=#000000&gt;Off&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Option&lt;/FONT&gt;&lt;FONT color=#000000&gt; Explicit On &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000&gt; Class&lt;/FONT&gt;&lt;FONT color=#000000&gt; ComDatagridTextBoxColumn&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Inherits&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Windows.Forms.DataGridTextBoxColumn&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Public Sub New(ByVal sMappingName As String, ByVal sHeaderText As String, ByVal iColWidth As Integer, ByVal iMaxLength As Integer, ByVal sFormat As String, ByVal sAlignment As String, ByVal bIsReadOnly As Boolean&lt;/FONT&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.MappingName = sMappingName&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.HeaderText = sHeaderText&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Width = iColWidth&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.TextBox.MaxLength = iMaxLength&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Format = sFormat&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Alignment = sAlignment&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.ReadOnly = bIsReadOnly&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;MyBase.TextBox.Enabled = False&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.NullText = ""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End Sub&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Protected Overloads Overrides Sub Paint(ByVal g As Graphics, ByVal bounds As Rectangle, ByVal source As CurrencyManager, ByVal rowNum As Integer, ByVal backBrush As Brush, ByVal foreBrush As Brush, ByVal alignToRight As Boolean&lt;/FONT&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;If rowNum Mod 2 = 0 Then   ''' -&gt; di sini bila yang genap maka di warnai dengan warna Brushes.LightGoldenrodYellow&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;backBrush = Brushes.LightGoldenrodYellow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End If&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MyBase&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Paint(g, bounds, source, rowNum, backBrush, foreBrush, alignToRight)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;End &lt;/FONT&gt;&lt;FONT color=#000000&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;End&lt;/FONT&gt;&lt;FONT color=#000000&gt; Class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;-------------------------------&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#000000&gt;Cara penggunaannya :&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000&gt; Sub InitData(&lt;/FONT&gt;&lt;FONT color=#000000&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;Dim oDpt As SqlDataAdapter = Nothing&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Dim oDgts As&lt;/FONT&gt;&lt;FONT color=#000000&gt; DataGridTableStyle&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;Try&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;DataGrid1.DataSource = &lt;DATA anda source&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;oDgts.MappingName = &lt;NAMA table mapping&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;'Ini salah satu sample penggunaannya&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;oDgts.GridColumnStyles.Add(New ComDatagridTextBoxColumn("StockItemCode", "Stock Code", 80, 20, String.Empty, Convert.ToString(HorizontalAlignment.Left), False&lt;/FONT&gt;&lt;FONT color=#000000&gt;))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;oDgts.GridColumnStyles.Add(&lt;/FONT&gt;&lt;FONT color=#000000&gt;New ComDatagridTextBoxColumn("ItemName", "Stock Name", 200, 20, String.Empty, Convert.ToString(HorizontalAlignment.Left), False))&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000&gt;.DataGrid1.TableStyles.Clear()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000&gt;.DataGrid1.TableStyles.Add(oDgts)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Catch ex As&lt;/FONT&gt;&lt;FONT color=#000000&gt; Exception&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;MessageBox.Show(ex.Message, &lt;/FONT&gt;&lt;FONT color=#000000&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000&gt;.Name &amp; ",InitData")&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000 size=2&gt;Finally&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;oDgts = &lt;/FONT&gt;&lt;FONT color=#000000&gt;Nothing&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;If Not (oDpt Is Nothing) Then oDpt = Nothing&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End Try&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT size=2&gt;End Sub&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/DIV&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx&amp;amp;subject=Tips mewarnai datagrid row" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx&amp;amp;t=Tips+mewarnai+datagrid+row" target="_blank" title="Submit Tips mewarnai datagrid row to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx&amp;amp;title=Tips+mewarnai+datagrid+row" target="_blank" title="Submit Tips mewarnai datagrid row to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx&amp;amp;phase=2" target="_blank" title="Submit Tips mewarnai datagrid row to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://netindonesia.net/blogs/agusto/archive/2005/08/30/6672.aspx&amp;amp;title=Tips+mewarnai+datagrid+row" target="_blank" title="Add Tips mewarnai datagrid row to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://netindonesia.net/aggbug.aspx?PostID=6672" width="1" height="1"&gt;</description><category domain="http://netindonesia.net/blogs/agusto/archive/tags/VB.Net/default.aspx">VB.Net</category></item></channel></rss>