Posts for January, 2005

Formatting currency

Found a rather nifty trick for formatting double values into currency strings. It’s really simple! You just specify “C” as an argument to the ToString method and it automatically generates a currency string that’s in the right format for whatever your local settings are. value.ToString("C"); There’s lots of other stuff you can do with the […]
Published in .NET on Tuesday, January 25th, 2005

Handling SelectedIndexChange for a DropDownList in a Repeater

Came across an interesting problem yesterday trying to handle the SelectedIndexChanged event for a DropDownList that was inside a Repeater. I found a wonderful article on Databinding that gave me most the information I needed, but their method of handling events just didn’t work for me. My first problem was that I originally did the […]
Published in ASP.NET, Javascript on Tuesday, January 25th, 2005

Setting classpath for java

I always find it’s a hassle to set up the java classpath. In unix: export CLASSPATH=/path/to/my/directory Resources: Nice tutorial that explains how to set the classpath.
Published in Sysadmin on Thursday, January 13th, 2005

Macromedia Flex

Just read an interesting article about a new Macromedia tool called Flex. It seems to be somewhere between a flash application and a classic web app. The really cool thing about it is that it runs on top of existing platforms like .NET and J2EE and can be developed in eclipse or visual studio. Developers […]
Published in Web development on Tuesday, January 11th, 2005