msgbartop
Arama Motoru Optimizasyonu , Scriptler ,Genel Bilgiler ve SEO Makaleleri
msgbarbottom

textBox’a Sadece sayı girilsin + backspace tuşu çalışsın 21 12 09

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) == false && e.KeyChar!=8)
e.KeyChar = ‘\0′;
}

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)

{

if (char.IsDigit(e.KeyChar) == false && e.KeyChar!=8)

e.KeyChar = ‘\0′;

}

Etiketler: , , , , ,