depends if you want to validate before a post back in which case you can use a regular expression validator on the page which prevents a post back before the correct data is submitted. (google this there are loads of examples)
or you can attach a javascript function to the checkbox itsself using the onkeypress event and then return false if the character is not numeric