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

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

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′;

}

Tags: , , , , ,

Leave a Comment