Month: May 2006

May 23, 2006

A code i wrote that i think some should follow and understand about the Da Vinci Code movie. It’s currently incomplete… with alot of TODO sections for me and people who would be watching the movie. I’ll complete the code once i finish watching the movie so that i could set a comparisson of things from truth and […]

Continue Reading
May 19, 2006

using System;using System.Collections.Generic;using System.Text;namespace KeithRull.CS.Windows.DevCenterConsole{   class TemperatureCalculation   {      static void Main(string[] args)      {         this.ShowCalculation();      }      public void ShowCalculation()      {         double celsius = 44.5;         double fahrenheit = CelsiusToFahrenheit(celsius);         Console.WriteLine(fahrenheit);         celsius = FahrenheitToCelsius(fahrenheit);         Console.WriteLine(celsius);      }      //formulas are taken from      //http://vathena.arc.nasa.gov/curric/weather/fahrcels.html      public static double CelsiusToFahrenheit(double celsius)      {         /*            Tc=(5/9)*(Tf-32)             Tc=temperature in degrees Celsius             Tf=temperature in degrees Fahrenheit          * */         return (((0.9 / 0.5) * celsius) + 32);      }      public static double FahrenheitToCelsius(double fahrenheit)      {         /*            Tf=(9/5)*Tc+32             Tc=temperature in degrees Celsius             Tf=temperature in degrees Fahrenheit          */         return ((0.5 / 0.9) * (fahrenheit […]

Continue Reading
May 15, 2006

The Repeater control is probably the most over used control in the company that i currently work for. Almost every grid and listing has been built using this and i has made me nuts when i first started using it since i consider myself a Datagrid or a DataList guy. One of the things I hate […]

Continue Reading
May 13, 2006

A quick and easy way to load files and directories contained in a specified folder into a DataTable. using System;using System.Data;using System.IO;namespace KeithRull.Utilities{   /// <summary>   /// A collection of methods that handles the processing of FileSystem data and information   /// </summary>   public sealed class FileSytem   {      private FileSytem(){}      /// <summary>      /// A method that accepts a string that points to a directory,       /// reads that […]

Continue Reading