I have a dataGridView that contains one column that contains numbers, and it's possible to edit data, and i have a bottun that saves data.
Then i have a table in an sql server that have a column of numbers.
what i need is before i save (update) data from my dataGridView, i want to check if all numbers exists in the column that i have in my sql server table, if not, then show message else save.
how could i do that?
my dataGridView table witch only have one column is like this
and my sql server table column is like this: