| |

VerySource

 Forgot password?
 Register
Search
View: 1601|Reply: 2

How to clear the value of a cell in datagridview

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-14 18:00:01
| Show all posts |Read mode
How to clear the value of a cell in the datagridview is to prompt the user when an illegal character is entered, and delete the illegal character, a master helps ...
Reply

Use magic Report

0

Threads

15

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-16 00:15:01
| Show all posts
You can look at things about regular expressions

Regular expressions can limit the data format inside;
Reply

Use magic Report

0

Threads

9

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Unknown

Post time: 2020-6-21 17:30:01
| Show all posts
You can detect the keyboard input, if it is illegal characters, disable the keyboard input
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list