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

<channel>
	<title>Winn &#187; .NET 3.5 VB</title>
	<atom:link href="http://winn.ws/archives/tag/net-35-vb/feed" rel="self" type="application/rss+xml" />
	<link>http://winn.ws</link>
	<description>Standards-based design &#38; development</description>
	<lastBuildDate>Wed, 01 Feb 2012 05:30:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Simple Ajax with .NET</title>
		<link>http://winn.ws/archives/177</link>
		<comments>http://winn.ws/archives/177#comments</comments>
		<pubDate>Tue, 04 Nov 2008 00:15:03 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[VB]]></category>

		<guid isPermaLink="false">http://www.winn.ws/?p=177</guid>
		<description><![CDATA[Adding Ajax to an application is simple and easy! Ajax is a powerful tool and can make your application look and feel great! First let’s start by adding a “Script Manager” to the page, now we only have to add this once so it’s best placed in your Master page. The Script Manager needs to [...]]]></description>
			<content:encoded><![CDATA[<p>Adding Ajax to an application is simple and easy! Ajax is a powerful tool and can make your application look and feel great!</p>
<p>First let’s start by adding a “Script Manager” to the page, now we only have to add this once so it’s best placed in your Master page. The Script Manager needs to be placed between the form tags on your page like so:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>form id<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;form1&quot;</span> runat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;server&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
    <span style="color: #006600; font-weight: bold;">&lt;</span>asp<span style="color: #006600; font-weight: bold;">:</span>ScriptManager ID<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;ScriptManager1&quot;</span> runat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;server&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
    <span style="color: #006600; font-weight: bold;">&lt;/</span>asp<span style="color: #006600; font-weight: bold;">:</span>ScriptManager<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>form<span style="color: #006600; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

<p>After that, we can now add Ajax to an item. Below I have added an “Update Panel” to a list view. Now every action that list view makes will be way of HTTP Requests “Ajax”!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>asp<span style="color: #006600; font-weight: bold;">:</span>UpdatePanel ID<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;UpdatePanel1&quot;</span> runat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;server&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
    <span style="color: #006600; font-weight: bold;">&lt;</span>ContentTemplate<span style="color: #006600; font-weight: bold;">&gt;</span>
        <span style="color: #006600; font-weight: bold;">&lt;</span>asp<span style="color: #006600; font-weight: bold;">:</span>ListView ID<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;ListView1&quot;</span> runat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;server&quot;</span> DataKeyNames<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;PostID&quot;</span> 
                DataSourceID<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;ObjectDataSource1&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
            <span style="color: #008000;">' Your code here...</span>
        <span style="color: #006600; font-weight: bold;">&lt;/</span>asp<span style="color: #006600; font-weight: bold;">:</span>ListView<span style="color: #006600; font-weight: bold;">&gt;</span>
    <span style="color: #006600; font-weight: bold;">&lt;/</span>ContentTemplate<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>asp<span style="color: #006600; font-weight: bold;">:</span>UpdatePanel<span style="color: #006600; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/177/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Winn .NET Guestbook</title>
		<link>http://winn.ws/archives/176</link>
		<comments>http://winn.ws/archives/176#comments</comments>
		<pubDate>Tue, 28 Oct 2008 02:31:26 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[ASP Guestbook]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.winn.ws/?p=176</guid>
		<description><![CDATA[I am in the process of building a sweet little open source Guestbook in VB.NET 3.5. This guestbook will be dramatically updated from the original Winn ASP Guestbook. At that time I will drop all support for the ASP guestbook and remove it from my server. The ASP guestbook has had a good run and [...]]]></description>
			<content:encoded><![CDATA[<p>I am in the process of building a sweet little open source Guestbook in VB.NET 3.5. This guestbook will be dramatically updated from the original Winn ASP Guestbook. At that time I will drop all support for the ASP guestbook and remove it from my server. The ASP guestbook has had a good run and has been downloaded 11,281 times! I hope that the new .NET version will have great success in its place.</p>
<p>What will you need to host the new guestbook? For starters you will need .NET 3.5, then you may load the database file in Access or SQL 2005 or newer. Watch the project tab for more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/176/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web User Controls</title>
		<link>http://winn.ws/archives/173</link>
		<comments>http://winn.ws/archives/173#comments</comments>
		<pubDate>Fri, 24 Oct 2008 03:08:15 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[VB]]></category>

		<guid isPermaLink="false">http://www.winn.ws/archives/173</guid>
		<description><![CDATA[Using the user controls may be one of the best moves you will make when developing an application in .NET. The user control will allow you to separate your reusable logic and keep it in one place. For many developers this is a great thing! Many of us have to re-create items over and over, [...]]]></description>
			<content:encoded><![CDATA[<p>Using the user controls may be one of the best moves you will make when developing an application in .NET. The user control will allow you to separate your reusable logic and keep it in one place. For many developers this is a great thing! Many of us have to re-create items over and over, after some time your code can look like crap and then you feel like crap because you have to deal with it.</p>
<p>Let’s say we have a site where I needed a “Quick Search” on every other page, but each page had a different look and feel or a different CSS document. All I would need to do is create a web user control “.ascx” file and lay down the basics of my quick search. Assign the div’s ID’s or classes, then include your control in each page that needs it. To style, just use your style sheet assigned to that page an add your styles.</p>
<p>Web controls make life a little easier when developing in .NET, so be sure to take advantage of this great tool and stop duplicating your work!</p>
]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/173/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functions in VB</title>
		<link>http://winn.ws/archives/165</link>
		<comments>http://winn.ws/archives/165#comments</comments>
		<pubDate>Mon, 06 Oct 2008 13:22:25 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[VB]]></category>

		<guid isPermaLink="false">http://www.winn.ws/?p=165</guid>
		<description><![CDATA[Something that i picked up on was that functions in VB and functions in PHP are a lot alike! This is great news, VB does not have the huge learning curve when stepping in from PHP. Below i have created a simple function inside if a class: Public Class Core Public Function HelloWorld(AVar) Return "Hello [...]]]></description>
			<content:encoded><![CDATA[<p>Something that i picked up on was that functions in VB and functions in PHP are a lot alike! This is great news, VB does not have the huge learning curve when stepping in from PHP.</p>
<p>Below i have created a simple function inside if a class:</p>
<p><code><br />
Public Class Core<br />
    Public Function HelloWorld(AVar)<br />
        Return "Hello " &#038; AVar<br />
    End Function<br />
End Class<br />
</code></p>
<p>Remember, in VB that if you have a function it will need to return a value but a Sub cant return one.</p>
]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling constants in VB</title>
		<link>http://winn.ws/archives/164</link>
		<comments>http://winn.ws/archives/164#comments</comments>
		<pubDate>Sun, 05 Oct 2008 03:53:52 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.winn.ws/?p=164</guid>
		<description><![CDATA[So i found my self needing to call on constants from another vb file. The file name was &#8220;core.vb&#8221;, now i needed to call a public constant and a public function. To do so, you can just first call the project name then call the file name and lastly call the constant or function. // [...]]]></description>
			<content:encoded><![CDATA[<p>So i found my self needing to call on constants from another vb file. The file name was &#8220;core.vb&#8221;, now i needed to call a public constant and a public function. To do so, you can just first call the project name then call the file name and lastly call the constant or function.</p>
<p><code><br />
// for a constant<br />
<%=MyProject.core.MyConst %><br />
// for a function<br />
<%=MyProject.core.MyFunction() %><br />
</code></p>
<p>There is no need to &#8220;include&#8221; the vb file, .NET will know what you need and get it.</p>
]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/164/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Winn Guestbook v1.0</title>
		<link>http://winn.ws/archives/162</link>
		<comments>http://winn.ws/archives/162#comments</comments>
		<pubDate>Tue, 30 Sep 2008 01:47:31 +0000</pubDate>
		<dc:creator>Greg Winn</dc:creator>
				<category><![CDATA[.NET 3.5 VB]]></category>
		<category><![CDATA[ASP Guestbook]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Guestbook .NET]]></category>

		<guid isPermaLink="false">http://www.winn.ws/?p=162</guid>
		<description><![CDATA[Say welcome to the Winn Guestbook in .NET 3.5 VB. I have released version 1.0, this is a bare bones release with nothing but the basics. This is a nice upgrade if your running the old Winn ASP Guestbook in ASP Classic. You will need to make sure your server is running .NET 3.5 and [...]]]></description>
			<content:encoded><![CDATA[<p>Say welcome to the Winn Guestbook in .NET 3.5 VB. I have released version 1.0, this is a bare bones release with nothing but the basics. This is a nice upgrade if your running the old Winn ASP Guestbook in ASP Classic. You will need to make sure your server is running .NET 3.5 and supports SQL Express or has an SQL server.</p>
<p>I dont plan on writing a porting script that would transition all your posts from the old ASP Classic version to the new .NET version, this will need to be done by hand.</p>
<p><a href="http://www.codeplex.com/winnguestbook">Visit the Project page here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://winn.ws/archives/162/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Database Caching 1/30 queries in 0.059 seconds using disk: basic
Object Caching 469/530 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d45jz936mo8n8.cloudfront.net

Served from: winn.ws @ 2012-02-05 05:49:20 -->
