<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>ShotDev.Com</title>
	<atom:link href="http://www.shotdev.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shotdev.com</link>
	<description>Basic example scripts  :: php, asp, ajax, asp.net, .net framework 1-2-3-4, vb.net, c# .. free tutorial and example scripts.</description>
	<pubDate>Fri, 04 Mar 2011 13:21:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ASP.NET(vb.net) &amp; CrystalReportSource</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportsource/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportsource/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 15:20:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(68) ASP.NET(vb.net) & CrystalReport]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10623</guid>
		<description><![CDATA[Learn and example script how to use CrystalReportSource for ASP.NET Web Application. The CrystalReportSource control is part of the new tag-based application development model that is provided with ASP.NET version 2.0.]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; CrystalReportSource</strong></span> - Learn and example script how to use CrystalReportSource for ASP.NET Web Application. The <strong>CrystalReportSource </strong>control is part of the new tag-based application development model that is provided with ASP.NET version 2.0.</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; CrystalReportSource</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportSource" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportsource1.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportSource" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;%@ Register assembly=&quot;CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot; namespace=&quot;CrystalDecisions.Web&quot; tagprefix=&quot;CR&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;CR:CrystalReportViewer ID=&quot;CrystalReportViewer1&quot; runat=&quot;server&quot;
AutoDataBind=&quot;True&quot; Height=&quot;1106px&quot; ReportSourceID=&quot;CReportSource1&quot;
Width=&quot;876px&quot; /&gt;
&lt;CR:CrystalReportSource ID=&quot;CReportSource1&quot; runat=&quot;server&quot;&gt;
&lt;Report FileName=&quot;CReport1.rpt&quot;&gt;
&lt;/Report&gt;
&lt;/CR:CrystalReportSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><strong>(or Create Code in Source file) CrystalReport.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Register assembly=&quot;CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot; namespace=&quot;CrystalDecisions.Web&quot; tagprefix=&quot;CR&quot; %&gt;
&lt;%@ Page Language=&quot;VB&quot; %&gt;
&lt;script runat=&quot;server&quot;&gt;
Sub Page_Load(sender As Object, e As EventArgs)

Dim CRSource As new CrystalReportSource()
CRSource.Report.FileName = &quot;CReport1.rpt&quot;

Me.CrystalReportViewer1.ReportSource = CRSource
End Sub
&lt;/script&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot; &gt;
&lt;CR:CrystalReportViewer ID=&quot;CrystalReportViewer1&quot; Width=&quot;500px&quot; runat=&quot;server&quot;/&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportsource2.jpg" rel="lightbox[10623]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportSource" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportsource2.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportSource" width="577" height="393" /></a><br />
.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_crystalreportsource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportsource/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; CrystalReportPartsViewer</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportpartsviewer/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportpartsviewer/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 15:18:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(68) ASP.NET(vb.net) & CrystalReport]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10621</guid>
		<description><![CDATA[Learn and example script how to use CrystalReportPartsViewer and ASP.NET Web site. This a control bind to and display a Crystal report as a series of linked parts. This greatly reduces the area required to display report information as is ideal for displaying small amounts of report information on a portal Web page.]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; CrystalReportPartsViewer</strong></span> - Learn and example script how to use <strong>CrystalReportPartsViewer</strong> and <strong>ASP.NET</strong> Web site. This a control bind to and display a Crystal report as a series of linked parts. This greatly reduces the area required to display report information as is ideal for displaying small amounts of report information on a portal Web page.</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; CrystalReportPartsViewer</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportPartsViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportpartviewer1.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportPartsViewer" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;%@ Register assembly=&quot;CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot; namespace=&quot;CrystalDecisions.Web&quot; tagprefix=&quot;CR&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;CR:CrystalReportViewer ID=&quot;CrystalReportPartsViewer1&quot; runat=&quot;server&quot;
AutoDataBind=&quot;True&quot; Height=&quot;1106px&quot; ReportSourceID=&quot;CReportSource1&quot;
Width=&quot;876px&quot; /&gt;
&lt;CR:CrystalReportSource ID=&quot;CReportSource1&quot; runat=&quot;server&quot;&gt;
&lt;Report FileName=&quot;CReport1.rpt&quot;&gt;
&lt;/Report&gt;
&lt;/CR:CrystalReportSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportpartviewer2.jpg" rel="lightbox[10621]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportPartsViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportpartviewer2.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportPartsViewer" width="577" height="393" /></a><br />
.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_crystalreportpartviewer.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportpartsviewer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; CrystalReportViewer</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportviewer/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportviewer/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 15:16:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(68) ASP.NET(vb.net) & CrystalReport]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10618</guid>
		<description><![CDATA[The CrystalReportViewer control allows a Crystal Report to be viewed in an application. this an example how to create and using CrystalReportViewer control.]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; CrystalReportViewer</strong></span> - The <strong>CrystalReportViewer </strong>control allows a Crystal Report to be viewed in an application. this an example how to create and using <strong>CrystalReportViewer </strong>control.</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; CrystalReportViewer</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer1.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" /></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer2.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer2.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="395" height="235" /></a></p>
<p>Drag control <strong>CrystalReportViewer </strong>to ASP.NET Web Form and Click <strong>CrystalReportViewer </strong><strong>Tasks</strong> -&gt; <strong>Choose Report Source -&gt; &lt;New data source…&gt;</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer3.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer3.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="506" height="325" /></a></p>
<p>Input specify a name for the CrystalReportSource control. You can select an existing report Or create new report.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer4.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer4.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="392" height="135" /></a></p>
<p>If create new report. Input a name for the new report.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer5.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer5.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="365" height="438" /></a></p>
<p>Select a <strong>Using the Report Wizard</strong> and Click <strong>OK.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer6.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 1px solid black;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer6.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="229" height="263" /></a></p>
<p>Create New Connection.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer7.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer7.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="456" height="462" /></a></p>
<p>This sample a Access Database. <strong>Select Database Name</strong> :</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer8.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer8.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="573" height="450" /></a></p>
<p>Choose the data you want to report on.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer9.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer9.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="573" height="450" /></a></p>
<p>Choose the information to display on the report.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer10.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer10.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="766" height="596" /></a></p>
<p>Design on Report.</p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;%@ Register assembly=&quot;CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot; namespace=&quot;CrystalDecisions.Web&quot; tagprefix=&quot;CR&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;CR:CrystalReportViewer ID=&quot;CrystalReportPartsViewer1&quot; runat=&quot;server&quot;
AutoDataBind=&quot;True&quot; Height=&quot;1106px&quot; ReportSourceID=&quot;CReportSource1&quot;
Width=&quot;876px&quot; /&gt;
&lt;CR:CrystalReportSource ID=&quot;CReportSource1&quot; runat=&quot;server&quot;&gt;
&lt;Report FileName=&quot;CReport1.rpt&quot;&gt;
&lt;/Report&gt;
&lt;/CR:CrystalReportSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer11.jpg" rel="lightbox[10618]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; CrystalReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_crystalreportviewer11.jpg" alt="ASP.NET(vb.net) &#038; CrystalReportViewer" width="577" height="393" /></a><br />
.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_crystalreportviewer.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-crystalreportviewer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; MicrosoftReportViewer</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-microsoftreportviewer/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-microsoftreportviewer/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 15:09:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(68) ASP.NET(vb.net) & CrystalReport]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10614</guid>
		<description><![CDATA[ASP.NET Web server controls for viewing reports designed using Microsoft reporting technology.]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; MicrosoftReportViewer</strong></span> - ASP.NET Web server controls for viewing reports designed using <strong>Microsoft reporting </strong>technology.</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; MicrosoftReportViewer</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer1.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" /></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer2.jpg" rel="lightbox[10614]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer2.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" width="643" height="408" /></a></p>
<p>Drag control <strong>MicrosoftReportViewer </strong>to ASP.NET Web Form and Click <strong>MicrosoftReportViewer Tasks</strong> -&gt; <strong>Choose Report -&gt; &lt;New data source…&gt;</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer3.jpg" rel="lightbox[10614]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer3.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" width="243" height="69" /></a></p>
<p>Click <strong>Design a new report.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer4.jpg" rel="lightbox[10614]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer4.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" width="568" height="491" /></a></p>
<p>Click Next to continue.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer5.jpg" rel="lightbox[10614]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer5.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" width="575" height="451" /></a></p>
<p><strong>Choose Your Data Connection</strong> or Create <strong>New Connection</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer6.jpg" rel="lightbox[10614]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; MicrosoftReportViewer" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_microsoftreportviewer6.jpg" alt="ASP.NET(vb.net) &#038; MicrosoftReportViewer" width="575" height="451" /></a></p>
<p>Your can use this ConnectionString for Report<br />
.<br />
.<br />
.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-crystalreport/aspnet-vbnet-crystalreport-microsoftreportviewer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and ListView</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-listview/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-listview/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:54:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10609</guid>
		<description><![CDATA[ Learn ASP.NET how to using ListView control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and ListView</strong></span> -  Learn ASP.NET how to using <strong>ListView </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and ListView</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="152" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource2.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="597" height="122" /></a></p>
<p>Drag control <strong>ListView </strong>ASP.NET Web Form and Click <strong>ListView </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source -&gt; &lt;New data source&#8230;&gt;</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource3.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource4.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource5.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource6.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><strong></strong></p>
<p><em><span style="text-decoration: underline;"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Tahoma,sans-serif; font-size: 14px; text-align: left;"><strong>LayoutTemplate and ItemTemplate</strong><br />
</span></span></span></em></p>
<p><em>&lt;LayoutTemplate&gt;<br />
&lt;table&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=&#8221;Table1&#8243; runat=&#8221;server&#8221; border=&#8221;1&#8243;&gt;<br />
&lt;tr&gt;<br />
&lt;th id=&#8221;Th1&#8243; runat=&#8221;server&#8221;&gt;<br />
CustomerID&lt;/th&gt;<br />
&lt;th id=&#8221;Th2&#8243; runat=&#8221;server&#8221;&gt;<br />
Name&lt;/th&gt;<br />
&lt;th id=&#8221;Th3&#8243; runat=&#8221;server&#8221;&gt;<br />
Email&lt;/th&gt;<br />
&lt;th id=&#8221;Th4&#8243; runat=&#8221;server&#8221;&gt;<br />
CountryCode&lt;/th&gt;<br />
&lt;th id=&#8221;Th5&#8243; runat=&#8221;server&#8221;&gt;<br />
Budget&lt;/th&gt;<br />
&lt;th id=&#8221;Th6&#8243; runat=&#8221;server&#8221;&gt;<br />
Used&lt;/th&gt;<br />
&lt;/tr&gt;<br />
&lt;tr ID=&#8221;itemPlaceholder&#8221; runat=&#8221;server&#8221;&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/LayoutTemplate&gt;</em></p>
<p><em>&lt;ItemTemplate&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblCustomerID&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;CustomerID&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblName&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;Name&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblEmail&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;Email&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblCountryCode&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;CountryCode&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblBudget&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;Budget&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
&lt;asp:Label ID=&#8221;lblUsed&#8221; runat=&#8221;server&#8221; Text=&#8217;&lt;%# Eval(&#8221;Used&#8221;) %&gt;&#8217; /&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/ItemTemplate&gt;</em></p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:ListView ID=&quot;ListView1&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource1&quot;&gt;
&lt;LayoutTemplate&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table id=&quot;Table1&quot; runat=&quot;server&quot; border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th id=&quot;Th1&quot; runat=&quot;server&quot;&gt;
CustomerID&lt;/th&gt;
&lt;th id=&quot;Th2&quot; runat=&quot;server&quot;&gt;
Name&lt;/th&gt;
&lt;th id=&quot;Th3&quot; runat=&quot;server&quot;&gt;
Email&lt;/th&gt;
&lt;th id=&quot;Th4&quot; runat=&quot;server&quot;&gt;
CountryCode&lt;/th&gt;
&lt;th id=&quot;Th5&quot; runat=&quot;server&quot;&gt;
Budget&lt;/th&gt;
&lt;th id=&quot;Th6&quot; runat=&quot;server&quot;&gt;
Used&lt;/th&gt;
&lt;/tr&gt;
&lt;tr ID=&quot;itemPlaceholder&quot; runat=&quot;server&quot;&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/LayoutTemplate&gt;

&lt;ItemTemplate&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblCustomerID&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;CustomerID&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblName&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;Name&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblEmail&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;Email&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblCountryCode&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;CountryCode&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblBudget&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;Budget&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;asp:Label ID=&quot;lblUsed&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;Used&quot;) %&gt;&#039; /&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:ListView&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM [customer]&quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource7.jpg" rel="lightbox[10609]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and ListView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_listview_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and ListView" width="577" height="305" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_listview_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-listview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and FormView</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-formview/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-formview/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:52:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10607</guid>
		<description><![CDATA[ Learn ASP.NET how to using FormView control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and FormView</strong></span> -  Learn ASP.NET how to using <strong>FormView </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and FormView</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="152" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource2.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="660" height="137" /></a></p>
<p>Drag control <strong>FormView </strong>to ASP.NET Web Form and Click <strong>FormView </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source -&gt; &lt;New data source&#8230;&gt;</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource3.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource4.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource5.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource6.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:FormView ID=&quot;FormView1&quot; runat=&quot;server&quot; DataKeyNames=&quot;GalleryID&quot;
DataSourceID=&quot;AccessDataSource1&quot;&gt;
&lt;EditItemTemplate&gt;
GalleryID:
&lt;asp:Label ID=&quot;GalleryIDLabel1&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Eval(&quot;GalleryID&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
GalleryName:
&lt;asp:TextBox ID=&quot;GalleryNameTextBox&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Bind(&quot;GalleryName&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
Picture:
&lt;asp:TextBox ID=&quot;PictureTextBox&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Bind(&quot;Picture&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
&lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot;
CommandName=&quot;Update&quot; Text=&quot;Update&quot; /&gt;
&amp;nbsp;&lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot;
CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot; Text=&quot;Cancel&quot; /&gt;
&lt;/EditItemTemplate&gt;
&lt;InsertItemTemplate&gt;
GalleryName:
&lt;asp:TextBox ID=&quot;GalleryNameTextBox&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Bind(&quot;GalleryName&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
Picture:
&lt;asp:TextBox ID=&quot;PictureTextBox&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Bind(&quot;Picture&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
&lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot;
CommandName=&quot;Insert&quot; Text=&quot;Insert&quot; /&gt;
&amp;nbsp;&lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot;
CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot; Text=&quot;Cancel&quot; /&gt;
&lt;/InsertItemTemplate&gt;
&lt;ItemTemplate&gt;
GalleryID:
&lt;asp:Label ID=&quot;GalleryIDLabel&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;GalleryID&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
GalleryName:
&lt;asp:Label ID=&quot;GalleryNameLabel&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Bind(&quot;GalleryName&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
Picture:
&lt;asp:Label ID=&quot;PictureLabel&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Bind(&quot;Picture&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:FormView&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM &quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource7.jpg" rel="lightbox[10607]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and FormView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_formview_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and FormView" width="510" height="279" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_formview_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-formview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and DetailsView</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-detailsview/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-detailsview/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:46:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10604</guid>
		<description><![CDATA[ Learn ASP.NET how to using DetailsView control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and DetailsView</strong></span> -  Learn ASP.NET how to using <strong>DetailsView </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and DetailsView</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="152" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource2.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="455" height="192" /></a></p>
<p>Drag control <strong>DetailsView </strong>to ASP.NET Web Form and Click <strong>DetailsView </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source -&gt; &lt;New data source&#8230;&gt;<br />
</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource3.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource4.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource5.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource6.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:DetailsView ID=&quot;DetailsView1&quot; runat=&quot;server&quot; AutoGenerateRows=&quot;False&quot;
DataKeyNames=&quot;CustomerID&quot; DataSourceID=&quot;AccessDataSource1&quot; Height=&quot;50px&quot;
Width=&quot;125px&quot;&gt;
&lt;Fields&gt;
&lt;asp:BoundField DataField=&quot;CustomerID&quot; HeaderText=&quot;CustomerID&quot; ReadOnly=&quot;True&quot;
SortExpression=&quot;CustomerID&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Name&quot; HeaderText=&quot;Name&quot; SortExpression=&quot;Name&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Email&quot; HeaderText=&quot;Email&quot; SortExpression=&quot;Email&quot; /&gt;
&lt;asp:BoundField DataField=&quot;CountryCode&quot; HeaderText=&quot;CountryCode&quot;
SortExpression=&quot;CountryCode&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Budget&quot; HeaderText=&quot;Budget&quot;
SortExpression=&quot;Budget&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Used&quot; HeaderText=&quot;Used&quot; SortExpression=&quot;Used&quot; /&gt;
&lt;/Fields&gt;
&lt;/asp:DetailsView&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM [customer]&quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource7.jpg" rel="lightbox[10604]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_detailsview_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DetailsView" width="556" height="306" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_detailsview_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-detailsview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and Repeater</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-repeater/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-repeater/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:43:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10602</guid>
		<description><![CDATA[ Learn ASP.NET how to using Repeater control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and Repeater</strong></span> -  Learn ASP.NET how to using <strong>Repeater </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and Repeater</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="153" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource2.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="631" height="106" /></a></p>
<p>Drag control <strong>Repeater </strong>to ASP.NET Web Form and Click <strong>Repeater </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source -&gt; &lt;New data source&#8230;&gt;<br />
</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource3.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource4.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource5.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource6.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><span style="text-decoration: underline;"><strong>Insert HeaderTemplate , ItemTemplate and FooterTemplate</strong></span></p>
<pre name="code" class="vb">
&lt;HeaderTemplate&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th&gt;CustomerID&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Email&lt;/th&gt;
&lt;th&gt;CountryCode&lt;/th&gt;
&lt;th&gt;Budget&lt;/th&gt;
&lt;th&gt;Used&lt;/th&gt;
&lt;/tr&gt;
&lt;/HeaderTemplate&gt;
&lt;ItemTemplate&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;&lt;%#Container.DataItem(&quot;CustomerID&quot;) %&gt;&lt;/td&gt;
&lt;td&gt;&lt;%#Container.DataItem(&quot;Name&quot;) %&gt;&lt;/td&gt;
&lt;td&gt;&lt;%#Container.DataItem(&quot;Email&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;%#Container.DataItem(&quot;CountryCode&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;%#Container.DataItem(&quot;Budget&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;%#Container.DataItem(&quot;Used&quot;) %&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/ItemTemplate&gt;
&lt;FooterTemplate&gt;
&lt;!--
&lt;tr&gt;
&lt;th&gt;CustomerID&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Email&lt;/th&gt;
&lt;th&gt;CountryCode&lt;/th&gt;
&lt;th&gt;Budget&lt;/th&gt;
&lt;th&gt;Used&lt;/th&gt;
&lt;/tr&gt;
--&gt;
&lt;/table&gt;
&lt;/FooterTemplate&gt;
</pre>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:Repeater ID=&quot;Repeater1&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource1&quot;&gt;
&lt;HeaderTemplate&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th&gt;CustomerID&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Email&lt;/th&gt;
&lt;th&gt;CountryCode&lt;/th&gt;
&lt;th&gt;Budget&lt;/th&gt;
&lt;th&gt;Used&lt;/th&gt;
&lt;/tr&gt;
&lt;/HeaderTemplate&gt;
&lt;ItemTemplate&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;&lt;%#Container.DataItem(&quot;CustomerID&quot;) %&gt;&lt;/td&gt;
&lt;td&gt;&lt;%#Container.DataItem(&quot;Name&quot;) %&gt;&lt;/td&gt;
&lt;td&gt;&lt;%#Container.DataItem(&quot;Email&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;%#Container.DataItem(&quot;CountryCode&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;%#Container.DataItem(&quot;Budget&quot;) %&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;%#Container.DataItem(&quot;Used&quot;) %&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/ItemTemplate&gt;
&lt;FooterTemplate&gt;
&lt;!--
&lt;tr&gt;
&lt;th&gt;CustomerID&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Email&lt;/th&gt;
&lt;th&gt;CountryCode&lt;/th&gt;
&lt;th&gt;Budget&lt;/th&gt;
&lt;th&gt;Used&lt;/th&gt;
&lt;/tr&gt;
---&gt;
&lt;/table&gt;
&lt;/FooterTemplate&gt;
&lt;/asp:Repeater&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM [customer]&quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource7.jpg" rel="lightbox[10602]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_repeater_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and Repeater" width="577" height="305" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_repeater_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-repeater/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and DataList</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-datalist/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-datalist/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:39:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10598</guid>
		<description><![CDATA[ Learn ASP.NET how to using DataList control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and DataList</strong></span> -  Learn ASP.NET how to using <strong>DataList </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and DataList</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="152" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource2.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="657" height="152" /></a></p>
<p>Drag control <strong>DataList </strong>to ASP.NET Web Form and Click <strong>DataList </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource3.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong><strong></strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource4.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource5.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource6.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span><br />
<strong><br />
Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:DataList ID=&quot;DataList1&quot; runat=&quot;server&quot; DataKeyField=&quot;CategoryID&quot;
DataSourceID=&quot;AccessDataSource1&quot;&gt;
&lt;ItemTemplate&gt;
CategoryID:
&lt;asp:Label ID=&quot;CategoryIDLabel&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Eval(&quot;CategoryID&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
CategoryName:
&lt;asp:Label ID=&quot;CategoryNameLabel&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Eval(&quot;CategoryName&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
Description:
&lt;asp:Label ID=&quot;DescriptionLabel&quot; runat=&quot;server&quot;
Text=&#039;&lt;%# Eval(&quot;Description&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
Picture:
&lt;asp:Label ID=&quot;PictureLabel&quot; runat=&quot;server&quot; Text=&#039;&lt;%# Eval(&quot;Picture&quot;) %&gt;&#039; /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:DataList&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM [category]&quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource7.jpg" rel="lightbox[10598]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and DataList" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_datalist_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and DataList" width="560" height="309" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_datalist_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-datalist/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET(vb.net) &amp; AccessDataSource and GridView</title>
		<link>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-gridview/</link>
		<comments>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-gridview/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:34:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[(67) ASP.NET(vb.net) & AccessDataSource and Control]]></category>

		<guid isPermaLink="false">http://localhost:8080/?p=10595</guid>
		<description><![CDATA[ Learn ASP.NET how to using GridView control and binding datasource from AccessDataSource (Microsoft Access Database)]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>ASP.NET(vb.net) &#038; AccessDataSource and GridView</strong></span> -  Learn ASP.NET how to using <strong>GridView </strong>control and binding datasource from <strong>AccessDataSource </strong>(Microsoft Access Database)</p>
<p><strong><span style="text-decoration: underline;"><span style="color:#008080;">Shot</span><span style="color: #ff0000;">Dev</span> <span style="color: #ff6600;">Focus</span></span>:<br />
</strong>- ASP.NET(vb.net) &#038; AccessDataSource and GridView</p>
<p><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource1.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="152" height="20" /></p>
<p><span style="text-decoration: underline;"><strong>Example</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource2.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource2.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="547" height="394" /></a></p>
<p>Create New Project <strong>ASP.NET Web Site</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource3.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource3.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="513" height="183" /></a></p>
<p>Drag control <strong>GridView </strong>to ASP.NET Web Form and Click <strong>GridView </strong><strong>Tasks</strong> -&gt; <strong>Choose Data Source</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource4.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource4.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="580" height="450" /></a></p>
<p>Choose a Data Source Type : Select <strong>Access Database</strong> and <strong>Specify an ID for the data source.</strong><strong></strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource5.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource5.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="580" height="450" /></a></p>
<p><strong>Choose a Database</strong> Path of <strong>Microsoft Access data file</strong>:<strong></strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource6.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource6.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="580" height="450" /></a></p>
<p>Configure the Select Statement.</p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource7.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource7.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="580" height="450" /></a></p>
<p><strong>Test Query</strong> and Click <strong>Finish</strong></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource8.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource8.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="367" height="180" /></a></p>
<p>Disign View On Visual Studio</p>
<p><span style="text-decoration: underline;"><strong>Example Code</strong></span></p>
<p><strong>Default.aspx</strong></p>
<pre name="code" class="vb">
&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Default.aspx.vb&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
&lt;title&gt;ShotDev.Com Tutorial&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div&gt;

&lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot;
DataKeyNames=&quot;CustomerID&quot; DataSourceID=&quot;AccessDataSource1&quot;&gt;
&lt;Columns&gt;
&lt;asp:BoundField DataField=&quot;CustomerID&quot; HeaderText=&quot;CustomerID&quot; ReadOnly=&quot;True&quot;
SortExpression=&quot;CustomerID&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Name&quot; HeaderText=&quot;Name&quot; SortExpression=&quot;Name&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Email&quot; HeaderText=&quot;Email&quot; SortExpression=&quot;Email&quot; /&gt;
&lt;asp:BoundField DataField=&quot;CountryCode&quot; HeaderText=&quot;CountryCode&quot;
SortExpression=&quot;CountryCode&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Budget&quot; HeaderText=&quot;Budget&quot;
SortExpression=&quot;Budget&quot; /&gt;
&lt;asp:BoundField DataField=&quot;Used&quot; HeaderText=&quot;Used&quot; SortExpression=&quot;Used&quot; /&gt;
&lt;/Columns&gt;
&lt;/asp:GridView&gt;
&lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot;
DataFile=&quot;~/App_Data/mydatabase.mdb&quot; SelectCommand=&quot;SELECT * FROM [customer]&quot;&gt;
&lt;/asp:AccessDataSource&gt;

&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Default.aspx.vb</strong></p>
<pre name="code" class="vb">

Partial Class _Default
Inherits System.Web.UI.Page

End Class
</pre>
<p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p>
<p><a href="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource9.jpg" rel="lightbox[10595]"><img class="alignnone size-full wp-image-631" style="border: 0pt none;" title="ASP.NET(vb.net) &#038; AccessDataSource and GridView" src="http://www.shotdev.com/wp-content/uploads/2010/01/aspnet_gridview_accessdatasource9.jpg" alt="ASP.NET(vb.net) &#038; AccessDataSource and GridView" width="552" height="289" /></a></p>
<p>.<br />
.<br />
.<br />
<span style="text-decoration: underline;"><strong>Download this script.</strong></span><br />
<a title="Download" href="/download/?file=aspnet_gridview_accessdatasource.zip" target="_blank"><img class="alignnone size-full wp-image-631" title="Download" src="http://www.shotdev.com/wp-content/uploads/2010/01/download.png" border="0" alt="Download" width="125" height="48" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shotdev.com/aspnet/aspnet-vbnet-accessdatasource/aspnet-vbnet-accessdatasource-gridview/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
