If(columnindex = 0) Then ' checking value for column 1 only Dim cellString = DataGridView1.Rows(rowindex).Cells(columnindex).value If Char.IsSymbol(cellString) MessageBox.Show("Special Characters Not Allowed") End If End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)