I've created a solution that converts latitude longitude to OSGB grid references.
Here's the actual page.
Here's the package, should you want to install it on your IIS web server apps/Setup1.msi. (15 Megs!)
Here's the source (10K)
Here's how to connect to a web service that provides an alternate interface to the lat long convert routine.