<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Lee's Code - A Web Programmer's Toolbox</title>
    <link>http://shurie.com/coder/</link>
    <description>Get programming code snippets and tips for HTML, CSS, ASP, SQL, JavaScript, RSS, XML, and more. Lee's code is free, will save you time and money, and make your programming time more productive and fun!</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2012 00:00:00 -0700</pubDate>
    <item>
      <title>ASP - In-Memory Recordset</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=49</link>
      <guid>http://bordersense.com/blog.asp?blogid=49</guid>
      <description><![CDATA[Here is a way to set up an in-memory rtable and recordset - without using a database. The recordset is used by your ASP page at run time and discarded once the page has been composed. It can be used for variouis purposes - such as holding and sorting temporary data. In some cases it may also replace an array - expecially when you want easy sorting. You can use normal recordset commands such as move first, move next, EOF, and so on.]]></description>
      <pubDate>Sat, 11 May 2012 10:22:18 -0700</pubDate>
    </item>
    <item>
      <title>Wordpress on Windows Plugin Problem</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=48</link>
      <guid>http://bordersense.com/blog.asp?blogid=48</guid>
      <description><![CDATA[Have you been frustrated by errors when attempting to install plugins on Wordpress running on Windiws / IIS7? This is a common problem but you can run around all day reading about ways to fix it - without finding a technique which works. <br><br>The most common and effective fix is related to problems with winCache. It is quick and easy to fix.]]></description>
      <pubDate>Sat, 04 May 2012 11:31:17 -0700</pubDate>
    </item>
    <item>
      <title>ASP - Strip Non-Numeric Characters</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=47</link>
      <guid>http://bordersense.com/blog.asp?blogid=47</guid>
      <description><![CDATA[This is a simple function I wrote to strip non-numeric characters from a string. I originally wrote it to convert credit card numbers but it works for any string which has a combination of numbers and other characters.]]></description>
      <pubDate>Sun, 21 Apr 2012 11:10:20 -0700</pubDate>
    </item>
    <item>
      <title>Pause or Sleep in ASP using SQL Server</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=45</link>
      <guid>http://bordersense.com/blog.asp?blogid=45</guid>
      <description><![CDATA[This is a simple compact function which lets you pause execution of an ASP page (or "sleep"). It requires SQL server.]]></description>
      <pubDate>Sat, 04 Nov 2011 17:17:25 -0700</pubDate>
    </item>
    <item>
      <title>SQL Server Remove Duplicate Records</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=44</link>
      <guid>http://bordersense.com/blog.asp?blogid=44</guid>
      <description><![CDATA[Ever had duplicate rows in a SQL table and needed a quick way to get rid of them? This can be tricky - especially when the duplication spans multiple columns. <br><br>Here's your answer - short and sweet.]]></description>
      <pubDate>Fri, 16 Jun 2011 10:09:48 -0700</pubDate>
    </item>
    <item>
      <title>ASP - Create Radio Buttons</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=43</link>
      <guid>http://bordersense.com/blog.asp?blogid=43</guid>
      <description><![CDATA[This is a simple function to create radio buttons. I use it often to populate survey forms when there are many repeated radio button groups.]]></description>
      <pubDate>Tue, 16 Aug 2010 15:27:31 -0700</pubDate>
    </item>
    <item>
      <title>Extract XSD Date and Time</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=42</link>
      <guid>http://bordersense.com/blog.asp?blogid=42</guid>
      <description><![CDATA[Here is a classic ASP script I wrote to convert XSD formatted date and time info to vbGeneralDate format.]]></description>
      <pubDate>Thu, 14 Jul 2010 09:41:22 -0700</pubDate>
    </item>
    <item>
      <title>Convert DateTime to XSD format</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=41</link>
      <guid>http://bordersense.com/blog.asp?blogid=41</guid>
      <description><![CDATA[I couldn't find a function to convert date and time to XSD DateTime format ( [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] ) so I wrote one. <br><br>Use this function to convert any of the common date/time formats to XSD Date Time Format which is sometimes used in data-transfer applications and often in XML feeds.]]></description>
      <pubDate>Sun, 26 Jun 2010 09:19:14 -0700</pubDate>
    </item>
    <item>
      <title>Form Button Working and Disabled</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=40</link>
      <guid>http://bordersense.com/blog.asp?blogid=40</guid>
      <description><![CDATA[this is the code for a form button which will be disabled on click (so it can't be clicked twice) and the text on the button will also change to say working…]]></description>
      <pubDate>Tue, 05 Apr 2010 09:41:48 -0700</pubDate>
    </item>
    <item>
      <title>Refresh Opening Page</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=39</link>
      <guid>http://bordersense.com/blog.asp?blogid=39</guid>
      <description><![CDATA[This is a very simple bit of Javascript which you can add to the <BODY> tag of a html page which has been opened by another page. When the called page is closed, the opening page is automatically refreshed. This is the simplest method I know of accomplishing this.]]></description>
      <pubDate>Fri, 18 Feb 2010 11:50:22 -0700</pubDate>
    </item>
    <item>
      <title>Detect Record State and Database State. Close recordset and database</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=38</link>
      <guid>http://bordersense.com/blog.asp?blogid=38</guid>
      <description><![CDATA[This code snippet illustrates how to detect an open recordset and close it. Same for an open database connection.<br><br>If you do not first detect the state of the recordset or the database and you attempt to close it, you will get an error if it is not open. This code eliminates the error by first detecting the state of the recordset or the database connection.]]></description>
      <pubDate>Tue, 07 Dec 2009 10:14:48 -0700</pubDate>
    </item>
    <item>
      <title>SQL Injection Data Cleaner</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=37</link>
      <guid>http://bordersense.com/blog.asp?blogid=37</guid>
      <description><![CDATA[This is a simple input field cleaner to help prevent SQL Injection problems. SQL Injection occurs when a hacker fills out a form on your web site or posts data to a script. If the script which accepts and processes the data reads or writes to a SQL database, the hacker can include SQL commands. Those commands can insert data to your database and/or can output details about the tables and fields in your database. <br><br>There is much more to SQL injection, but this simple script will help to clean submitted data. It is intended for alphanumeric fields. You can clean numeric fields separately by testing for isNumeric and Not isNull.<br><br>Lee has a good deal of experience protecting web sites from SQL injection.]]></description>
      <pubDate>Thu, 01 Oct 2008 14:38:14 -0700</pubDate>
    </item>
    <item>
      <title>HTML box with rounded corners</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=36</link>
      <guid>http://bordersense.com/blog.asp?blogid=36</guid>
      <description><![CDATA[This little trick uses the fieldset and legend tags to create a nicely bordered box with a title. It is straight HTML.<br><br>Originally this was proprietary to IE, but it has been adapted by Mozilla Firefox. In IE the corners are nicely rounded. In Firefox they are square.]]></description>
      <pubDate>Sun, 13 Sep 2008 23:11:31 -0700</pubDate>
    </item>
    <item>
      <title>Classic ASP Timer using SQL Server</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=35</link>
      <guid>http://bordersense.com/blog.asp?blogid=35</guid>
      <description><![CDATA[This script provides a way to cause your Classic ASP page t pause or sleep. It uses SQL Server to perform the sleep function.]]></description>
      <pubDate>Wed, 05 Aug 2008 11:04:34 -0700</pubDate>
    </item>
    <item>
      <title>Lorem Ipsum Text Filler</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=34</link>
      <guid>http://bordersense.com/blog.asp?blogid=34</guid>
      <description><![CDATA[Ever needed something to use as a placeholder for future test? Have you wondered what "Lorem Ipsum… " was all about? Here is 5 paragraphs of Latin gibberish commonly used for text filler.]]></description>
      <pubDate>Wed, 13 May 2008 23:11:31 -0700</pubDate>
    </item>
  </channel>
</rss>
