//Type this code on the KeyPress event of the textbox

private void textBox_KeyPress(object sender, KeyPressEventArgs e)

{

if (char.IsDigit(e.KeyChar) == true)

MessageBox.Show("You can't type a numeric values");

}