the below coderestricts the user from entering text values but also restricts to make use of backspace button!
help me
give a solution for this espicially using ASCII values!
//wen you select the text box and get into the properties and select Events for textbox and double click on key press event.
private key_press()
{
if(!char.IsLetter(e.Keychar))
{
e.enabled=true;
}
}