do u know if i could use this code

VB Code:
  1. If Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then e.Handled = True

and limit the field size so only 2 digits can be entered?

Thanks