Masked Edit Column[
^]
You can use that component to keep your user from entering values that you don't want.
The only other way is to catch the EditingControlShowing event, cast the editing control to a text box, then capture the KeyPressEvent. Then use typical keypress filtering code to not allow the user to enter a "-" or "." (or anything non-numeric) in the text box.