How can I check for ASCII values in my DataGrid
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I already have a loop that loops through the datagrid and looks for invalid data. I would also like to check for any ASCII values that exist in the datagrid and report it as an error.The code below is within the loop and looks for empty columns. I would like to look for ASCII values/data: if (dgOutput.Rows[rowNum].Cells[colm].Value.ToString() == "") error_per_row = error_per_row +"Error: Invalid characters on " + field_name ;
Mvelo Walaza Developer Telkom SA