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