<?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>webinfinite.com &#187; Asp.net</title>
	<atom:link href="http://webinfinite.com/category/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://webinfinite.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:26:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ASP.Net &#8211; Add a default value to a binded dropdown list</title>
		<link>http://webinfinite.com/aspnet/aspnet-add-a-default-value-to-a-binded-dropdown-list/</link>
		<comments>http://webinfinite.com/aspnet/aspnet-add-a-default-value-to-a-binded-dropdown-list/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 16:07:58 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=156</guid>
		<description><![CDATA[Hello, today you will learn how to add a default value such as &#8220;select a value&#8221; to the top of your bound dropdown list in vb.net. I am not going to show you how to bind your dropdown list, you can do that by searching this in google if you do not know how to [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, today you will learn how to add a default value such as &#8220;select a value&#8221; to the top of your bound dropdown list in vb.net. I am not going to show you how to bind your dropdown list, you can do that by searching this in google if you do not know how to do this.</p>
<p>After your dropdown list has been bound, you should use the following code after you close your connection to the database.</p>
<p>Dim Item As ListItem = New ListItem<br />
Item.Text = &#8220;select a value&#8221;<br />
Item.Value = &#8220;0&#8243;<br />
Item.Selected = True<br />
BoundDropDownList.Items.Insert(0, Item)</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/aspnet/aspnet-add-a-default-value-to-a-binded-dropdown-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB.net: Capitalize first character in each word.</title>
		<link>http://webinfinite.com/aspnet/capitalize-first-character-in-vbnet/</link>
		<comments>http://webinfinite.com/aspnet/capitalize-first-character-in-vbnet/#comments</comments>
		<pubDate>Sun, 10 May 2009 18:57:22 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Vb.net Strings]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=148</guid>
		<description><![CDATA[Dim strHockey As String = &#8220;vancouver canucks&#8221; strHOckey = StrConv(strHockey, VbStrConv.ProperCase) MsgBox(srtHockey) Output will be Vancouver Canucks]]></description>
			<content:encoded><![CDATA[<p>Dim strHockey As String = &#8220;vancouver canucks&#8221;<br />
strHOckey = StrConv(strHockey, VbStrConv.ProperCase)<br />
MsgBox(srtHockey)</p>
<blockquote><p>Output will be Vancouver Canucks</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/aspnet/capitalize-first-character-in-vbnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup mysql with asp.net</title>
		<link>http://webinfinite.com/mysql/setup-mysql-with-aspnet/</link>
		<comments>http://webinfinite.com/mysql/setup-mysql-with-aspnet/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 00:12:05 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[asp.net & mysql]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=132</guid>
		<description><![CDATA[Introduction Back in the days of classic ASP, if you were building a database-driven web site, your choice was either to invest a lot of money to get a copy of Microsoft SQL Server (or some othe enterprise-ready database) or invest a lot of time finding a way to deal with the performance and scalability [...]]]></description>
			<content:encoded><![CDATA[<p><span class="clsTitle">Introduction</span></p>
<p><span class="clsBlurb">Back in the days of classic ASP, if you were building a database-driven web site, your choice was either to invest a lot of money to get a copy of Microsoft SQL Server (or some othe<img class="alignright size-full wp-image-133" title="15 seconds" src="http://webinfinite.com/wp-content/uploads/2009/03/logo.gif" alt="15 seconds" width="121" height="92" /> enterprise-ready database) or invest a lot of time finding a way to deal with the performance and scalability limitations of Microsoft Access.  Luckily these days there&#8217;s another viable alternative: MySQL.</span></p>
<p><a href="http://www.15seconds.com/issue/050210.htm" target="_blank">Click here</a> to get more information on how to set this up with asp.net.</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/mysql/setup-mysql-with-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I explode/implode a string in asp.net</title>
		<link>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/</link>
		<comments>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:04:39 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[explode]]></category>
		<category><![CDATA[implode]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=92</guid>
		<description><![CDATA[So you want to separate your string using explode or join your string using implode in vb.net? Explode/implode are functions of the php environment and do not exist in asp.net therefore you must use the split() function to get your results for explode and join() for implode. Split() Example mystring = &#8220;hello;sir;how are you&#8221;; arrayData=mystring.Split(mystring,&#8221;;&#8221;) [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to separate your string using explode or join your string using implode in vb.net? Explode/implode are functions of the php environment and do not exist in asp.net therefore you must use the split() function to get your results for explode and join() for implode.</p>
<p><span style="text-decoration: underline;"><strong>Split()</strong><strong> Example</strong></span></p>
<p>mystring = &#8220;hello;sir;how are you&#8221;;</p>
<div id="EchoTopic" class="answerBody quoted">arrayData=mystring.Split(mystring<a class="tfTextLink" style="border-bottom: 1px solid #f78200; color: #f78200; text-decoration: underline; display: inline; background-color: transparent; font-size: 1em; padding-bottom: 1px; position: relative; line-height: 1em;" href="javascript:void(0)"></a>,&#8221;;&#8221;)</div>
<div class="answerBody quoted"><strong><br />
Result</strong></div>
<div class="answerBody quoted">arrayData(0) would equal &#8220;hello&#8221;</div>
<div class="answerBody quoted">arrayData(1) would equal &#8220;sir&#8221;</div>
<div class="answerBody quoted">arrayDate(2) would equal &#8220;how are you&#8221;</div>
<div class="answerBody quoted">
<p><span style="text-decoration: underline;"><strong>Join()</strong><strong> Example</strong></span></div>
<p><code>Dim JoinArray(3)</code></p>
<p><code>JoinArray(0) = "Welcome"<br />
JoinArray(1) = "to"<br />
JoinArray(2) = "Web Infinite"</code><code><br />
</code></p>
<p><code>Dim strSentence as String<br />
strSentence = join(JoinArray) </code></p>
<p><strong>Result</strong><br />
<code>strSentence would equal</code> to &#8220;Welcome to Web Infinite&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.Net &#8211; Rewrite URL in VB.Net</title>
		<link>http://webinfinite.com/aspnet/rewrite-url-in-vbnet/</link>
		<comments>http://webinfinite.com/aspnet/rewrite-url-in-vbnet/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 01:46:34 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[url rewrite]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=10</guid>
		<description><![CDATA[Application_BeginRequest method of Global.asax file can be used to rewrite the URL of the current page.? Following code snippet shows you how to achieve this goal. &#60;%@ Application Language=?VB? %&#62; &#60;script runat=?server?&#62; Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) ?This is for dynamic redirection without having to create a directory in the [...]]]></description>
			<content:encoded><![CDATA[<div class="postbody entry">
<p><span id="_ctl0_ContentPlaceHolder1_Label1">Application_BeginRequest method of Global.asax file can be used to rewrite the URL of the current page.? Following code snippet shows you how to achieve this goal.<br />
</span></p>
<p>&lt;%@ Application Language=?VB? %&gt;<br />
&lt;script runat=?server?&gt;</p>
<p>Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)</p>
<p style="text-align: left; padding-left: 30px;">?This is for dynamic redirection without having to create a directory in the root folder. We<br />
?needed to change the 404 in IIS under custom errors to /(forward slash) instead of the default 404b.html</p>
<p style="text-align: left; padding-left: 30px;">If Regex.IsMatch(Request.Url.AbsoluteUri, ?404;?) ?Get the url from browser address bar<br />
Dim UrlSplit(), url as String<br />
UrlSplit = Request.Url.AbsoluteUri.Split(??404;?) ?Split the url where the error occured in this case 404<br />
url = replace(UrlSplit(1), ?404;?, ??)<br />
url = replace(url, ?http://www.youraddress.com?, ??) ?Replaces the youraddress.com address and puts nothing</p>
<p style="text-align: left; padding-left: 30px;">?Select Case to check where the page should be redirect too.<br />
Select Case url<br />
Case ?/aboutmypage?<br />
response.Redirect(?/aboutus?) ? Redirects to correct url.<br />
Case ?/yourprogram?<br />
response.Redirect(?/programs/yourprogram?)<br />
Case ?/canucks?<br />
response.Redirect(?/sports/hockey/canucks?)<br />
Case Else<br />
response.redirect(?/help/sitemap/index.aspx?)<br />
End Select<br />
End If<br />
End Sub</p>
<p style="text-align: left;">&lt;/script&gt;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/aspnet/rewrite-url-in-vbnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
