Validating length of textbox in datagrid