[Message Deleted]
C#
3
Posts
3
Posters
0
Views
1
Watching
-
[Message Deleted]
-
[Message Deleted]
here u have to identify the datatype using ascii values e. keyChar, can be used for that. then you can use e.handled = true to ignore the enteres character :-D :-D :-D
My small attempt...
-
[Message Deleted]
if (char.IsNumber(e.KeyChar) == false) { e.Handled = true; } write this in the key press event on a textBox then it will allow only integers i hope it is useful to u.....:rose:
its me sid