Hai,
In my project I want to validate the datagridview cell can accept only the numeric values, Otherwise it will show the message box and clear the text values in that cell column.
How can I do this in my project , Please suggest any solution to solve this problem.
Thanks in advance.


ali tuncerRank #1,498 · 1.1K reputationPosted Feb 22, 2016, 3:50 PM EST
You can do it with EditControlShowing Event..if you use KeyPressEventHandler you won't need to show message because user won't be able to input characters, only input numeric values..
Check this link :
Pavithra LRank #4,546 · 338 reputationPosted Feb 22, 2016, 6:51 PM EST
Pavithra LRank #4,546 · 338 reputationPosted Feb 22, 2016, 6:51 PM EST