I have a datagridview with 3 columns and 19 rows.first two columns are read-only. The last column has values already set to 0. User has to input integer values in the last one and I need to validate if it is an integer.if not display message "Enter Integer". I came across the cellleave event and i was thinking it might be the right one to use to perform the check but i don't know how to call that event automatically.
To summarise
-- Values in 3rd column of datagridview already set to zero.
--user inputs value in 3rd column.
--if value is not integer display message "Please enter integer"
I am a beginner in c# and would really appreciate any help on that matter.