Jerald.Net
A little VB.Net, SQL, and whatever else comes to mind...

April 2005 - Jerald's TechnoBlog

  • Dynamic Page Titles for ASP.Net

    I was wondering if there was a clean way to programatically control the page title in ASP.Net. This is helpful with search engine optimizing techniques. I found a few examples across the web. I tried out a couple and to me, this solution seemed to be a very efficient way to handle the problem. In the HTML remove the existing <title></title> tags and replace it with the following: <asp:PlaceHolder id="titlePlaceHolder" runat="server" /> In the Code Behind add...
  • GoogleControls for Asp.Net

    While I have not tested this http://www.pagebox.net/GoogleControl/google-internals.html , it does look very interesting.
  • Determining Day Lights Savings for Time Zones in ASP.Net

    I needed to determine what the real TimeZone (CST vs CDT) was for my blog application. So here is what I came up with: // instantiate a DateTime Object DateTime dT = DateTime.Now; // create a string to hold the full date and time string pubDate = dT.ToLongDateString() + " " + dT.ToShortTimeString(); // determine if daylights savings and add the appropriate TimeZone if (TimeZone.CurrentTimeZone.IsDaylightSavingTime(dT)) { pubDate += " CDT"; } else { pubDate += " CST";...
© Jerald Carter 1999 - 2008
Powered by Community Server (Non-Commercial Edition), by Telligent Systems