hi,
how to restrict the text box input to allow user to write only Arabic letters, without english letters or numbers or ponctuation symbols. i searched on the net and i tried this code but it does't do what i want
private void nomTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar)&& e.KeyChar.ToString()!="\b" && e.KeyChar=='a' )
e.Handled = true;
}
thanks