codice:
 CType(.Columns(0), DataGridViewTextBoxColumn).MaxInputLength = 2