Datagridview Cell Validation

Introduction

Recently, I was asked about how to validate keypress event in a specific cell of datagridview. After solving the problem or answering the question, I found it useful to post the solution so it may help other developers.

Step 1

p1.png

Step 2

p2.png

I hope it is helpful.