<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-6628885548694103043</atom:id><lastBuildDate>Mon, 05 Feb 2007 05:25:55 +0000</lastBuildDate><title>meLearnASP.net Blog</title><description></description><link>http://www.melearnasp.net/blog/blog.html</link><managingEditor>meLearnASP</managingEditor><generator>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-2596290363176613915</guid><pubDate>Mon, 05 Feb 2007 04:51:00 +0000</pubDate><atom:updated>2007-02-04T21:25:55.231-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ASP.net</category><title>Set Focus</title><description>In ASP.net there are 2 ways to &lt;a href="http://www.melearnasp.net/aspnet/?articleid=19"&gt;set focus to a textbox&lt;/a&gt;. One uses the &lt;a href="http://msdn2.microsoft.com/en-us/library/system.web.ui.htmlcontrols.htmlform.defaultfocus.aspx"&gt;defaultfocus&lt;/a&gt; property of the form tag and the other uses the &lt;a href="http://msdn2.microsoft.com/en-us/library/e04ah0f4.aspx"&gt;SetFocus&lt;/a&gt; method in the code behind.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. defaultfocus (web form)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;form id=&amp;quot;frmFocus&amp;quot; runat=&amp;quot;server&amp;quot; &lt;strong&gt;defaultfocus&lt;/strong&gt;=&amp;quot;txtSecond&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. SetFocus (code behind)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Me.&lt;strong&gt;SetFocus&lt;/strong&gt;("textbox")&lt;br /&gt;End Sub&lt;br /&gt;&lt;form id="frmFocus" runat="server" defaultfocus="txtSecond"&gt;&lt;/form&gt;</description><link>http://www.melearnasp.net/blog/2007/02/set-focus.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-5546679238424790005</guid><pubDate>Sat, 03 Feb 2007 23:20:00 +0000</pubDate><atom:updated>2007-02-03T15:28:00.352-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Windows</category><title>Windows Vista - Try before you buy</title><description>Just like you would take a car for a test drive, you can now take &lt;a href="http://www.microsoft.com/windows/products/windowsvista/default.mspx" target="_blank"&gt;Windows Vista&lt;/a&gt; for a spin by going to &lt;a href="http://www.windowsvistatestdrive.com" target="_blank"&gt;&lt;strong&gt;windowsvistatestdrive.com&lt;/strong&gt;&lt;/a&gt;. All you have to do is enter your email address then select any of the 4 options (Safe, Efficient, Connected, Collaborative) and click test drive and you are logged into a virtual desktop running Vista. You can browse, open various programs or view various instructional videos.&lt;br /&gt;&lt;br /&gt;In my first attempt, I was asked to download the latest video driver from Microsoft and it took a few minutes for me to log in. Subsequent tries, took much less time and I was using the Vista desktop in no time. You can also try out the new &lt;a href="http://office.microsoft.com" target="_blank"&gt;Microsoft Office 2007&lt;/a&gt; while you are on the Vista desktop.&lt;br /&gt;&lt;br /&gt;If you are thinking about upgrading to Microsoft Windows Vista, it will be worth your time to take it for a spin first.</description><link>http://www.melearnasp.net/blog/2007/02/windows-vista-try-before-you-buy.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-7231716553337651939</guid><pubDate>Sat, 03 Feb 2007 23:14:00 +0000</pubDate><atom:updated>2007-02-03T15:19:06.921-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>CPU</category><title>AMD vs. Intel</title><description>I am in the market for a new PC. The difficult decision is whether to pick a PC with an Intel or AMD chipset.  The &lt;a href="http://anandtech.com/cpuchipsets/showdoc.aspx?i=2795&amp;amp;p=9" target="_blank"&gt;AnandTech&lt;/a&gt; website gives a great breakdown on performance comparing the various chips that Intel and AMD offer. Take a look if you need help making a decision.</description><link>http://www.melearnasp.net/blog/2007/02/amd-vs-intel.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-1712018683425899652</guid><pubDate>Fri, 15 Dec 2006 18:00:00 +0000</pubDate><atom:updated>2006-12-15T10:38:40.320-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ASP.net</category><title>Replace Text in ASP.net GridView</title><description>There are times when you need to &lt;a href="http://www.melearnasp.net/aspnet/?articleid=4"&gt;replace text&lt;/a&gt; displayed in &lt;a href="http://msdn.microsoft.com/msdnmag/issues/04/08/GridView/"&gt;ASP.net GridView&lt;/a&gt; with something different than what is in your database.&lt;br /&gt;&lt;br /&gt;Use the &lt;strong&gt;RowDataBound&lt;/strong&gt; property of the GridView. In the properties window click on the Events button and than select RowDataBound.&lt;br /&gt;&lt;br /&gt;Here is a simple if statement that checks the 2nd column for the text "ASP" and replaces it with the text "Net".&lt;br /&gt;&lt;br /&gt;If e.Row.RowType = DataControlRowType.DataRow Then&lt;br /&gt;If e.Row.Cells(1).Text = "ASP" Then&lt;br /&gt;e.Row.Cells(1).Text = "NET"&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;You can easily &lt;a href="http://www.melearnasp.net/aspnet/?articleid=4"&gt;replace the text of one column in the GridView based on another column&lt;/a&gt;. In this example we are replacing the text of the 3rd column based on the 1st column.&lt;br /&gt;&lt;br /&gt;If e.Row.RowType = DataControlRowType.DataRow Then&lt;br /&gt;If e.Row.Cells(0).Text = "ASP" Then&lt;br /&gt;e.Row.Cells(2).Text = "NET"&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Sometimes you need to &lt;a href="http://www.melearnasp.net/aspnet/?articleid=4"&gt;append text to a GridView column&lt;/a&gt;. In this example if the the column contains "NET" we will add "ASP" to it&lt;br /&gt;&lt;br /&gt;If e.Row.RowType = DataControlRowType.DataRow Then&lt;br /&gt;If e.Row.Cells(0).Text = "NET" Then&lt;br /&gt;e.Row.Cells(0).Text = "ASP" &amp;amp; e.Row.Cells(0).Text&lt;br /&gt;End If&lt;br /&gt;End If</description><link>http://www.melearnasp.net/blog/2006/12/replace-text-in-aspnet-gridview.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-6368705395447566762</guid><pubDate>Fri, 15 Dec 2006 01:13:00 +0000</pubDate><atom:updated>2006-12-14T17:28:38.484-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ASP.net</category><title>Enable word wrap in Microsoft Visual Studio 2005</title><description>I am accustumed to using &lt;strike&gt;Macromedia&lt;/strike&gt; &lt;a href="http://www.adobe.com/products/dreamweaver/"&gt;Adobe Dreamweaver&lt;/a&gt;. In Dreamweaver, it is really easy set up word wrapping for your code view: View&gt; Code View Options&gt; Word Wrap&lt;br /&gt;&lt;br /&gt;In Microsoft &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/default.aspx"&gt;Visual Studio 2005&lt;/a&gt; and in &lt;a href="http://msdn.microsoft.com/vstudio/express/vwd/"&gt;Visual Web Developer 2005 Express Edition&lt;/a&gt; the &lt;a href="http://www.melearnasp.net/aspnet/?articleid=1"&gt;word wrap feature&lt;/a&gt; is a bit hidden. Word wrap is really helpful when writing complex &lt;a href="http://www.melearnasp.net/aspnet/"&gt;ASP.net code&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.melearnasp.net/aspnet/?articleid=1"&gt;word wrap option in Visual Studio&lt;/a&gt; is hidden in the &lt;strong&gt;All Languages&lt;/strong&gt; section.&lt;br /&gt;&lt;br /&gt;On the &lt;strong&gt;Tools&lt;/strong&gt; menu, select &lt;strong&gt;Options&lt;/strong&gt;.&lt;br /&gt;Open the &lt;strong&gt;Text Editor&lt;/strong&gt; folder&lt;br /&gt;Open the &lt;strong&gt;All Languages&lt;/strong&gt; folder&lt;br /&gt;Select &lt;strong&gt;General&lt;/strong&gt;&lt;br /&gt;Under &lt;strong&gt;Settings&lt;/strong&gt; – select the &lt;strong&gt;Word wrap&lt;/strong&gt; option</description><link>http://www.melearnasp.net/blog/2006/12/enable-word-wrap-in-microsoft-visual.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-5021975975667553732</guid><pubDate>Mon, 11 Dec 2006 01:14:00 +0000</pubDate><atom:updated>2006-12-13T18:23:53.955-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>google</category><title>Click to Call using Google Maps</title><description>I recently used &lt;a href="http://www.melearnasp.net/opinion/?articleid=10"&gt;Google's click to call&lt;/a&gt; feature. I was very impressed at how easy it is to use. &lt;br /&gt;&lt;br /&gt;All you have to do is to search for a business by name and location. In addition to the phone number, &lt;a href="http://www.melearnasp.net/opinion/?articleid=10"&gt;Google&lt;/a&gt; now displays a call link that you can click.  When you click on the link, you are prompted to enter your own phone number. Google will than call you and call the other party and connects the 2 calls together.&lt;br /&gt;&lt;br /&gt;I was concerned by privacy issues, but I was reassured by the &lt;a href="http://www.google.com/help/privacy_clicktocall.html"&gt;Click to Call Privacy Policy&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I also noticed that some numbers are &lt;a href="http://www.melearnasp.net/opinion/?articleid=11"&gt;unverified&lt;/a&gt;. Uverified numbers do not have a click to call feature enabled. Hopefully, all business will take an effort to verify themselves.&lt;br /&gt;&lt;br /&gt;Google also allows any business to &lt;a href="http://www.melearnasp.net/opinion/?articleid=9"&gt;opt out&lt;/a&gt;. I don't know why any business would not want to be listed on Google, but it could happen.&lt;br /&gt;&lt;br /&gt;I am going to make a quick call...</description><link>http://www.melearnasp.net/blog/2006/12/click-to-call-using-google-maps.html</link><author>meLearnASP</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6628885548694103043.post-6812883913680075937</guid><pubDate>Wed, 13 Dec 2006 03:16:00 +0000</pubDate><atom:updated>2006-12-12T20:55:25.258-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>travel</category><title>Priceline is still King</title><description>We are visiting family at the end of December in &lt;a href="http://www.skokie.org/"&gt;Skokie Illinois&lt;/a&gt;. Being a small town, there are not many hotel options. The most convenient hotel is the Holiday Inn.&lt;br /&gt;&lt;br /&gt;On the Holiday Inn website the trip for 4 nights was going to cost us $614.61. On Priceline we got the same hotel for $370.32 a 40% savings.&lt;br /&gt;&lt;br /&gt;Holiday Inn Price&lt;br /&gt;&lt;img alt="Holiday Inn Price" src="http://www.melearnasp.net/blog/uploaded_images/HolidayInn_Skokie-776383.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Priceline Price&lt;br /&gt;&lt;img alt="Priceline Price" src="http://www.melearnasp.net/blog/uploaded_images/PricleLine_Skokie-739256.gif" border="0" /&gt;</description><link>http://www.melearnasp.net/blog/2006/12/priceline-is-still-king.html</link><author>meLearnASP</author></item></channel></rss>