Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

restricting datagridview column to numeric value

$
0
0

hi there i am new to c#.net and i have been trying to restrict my column to accept the numeric value only. I have tired using columns>DefaultCellStyle>Format and then numeric. But when i run the application it accept the character also (with parsing error).

But i want only numeric value (retrun true else return false).How could i do this.


Viewing all articles
Browse latest Browse all 2535

Trending Articles