|
After the edit event of the datagridview control occurs, how can I write code in the validating event to determine whether the input is wrong? When I add a cell, I need to enter single-precision or double-precision data. As a result, I entered a letter. How can I judge the input error? Because there are many types of data, and the type of the field value of each field is not necessarily the same, I cannot judge one by one. Is there a general way to achieve such a function? Can you give me an example?
Very anxious, please help to see, thank you in advance! !! |
|