2
Reply

how backSpace key can work in Text Box?

Bineesh  VP

Bineesh VP

Jul 01, 2013
1.9k
0

    private void TextBox1_KeyPress(object sender, KeyPressEventArgs e) {if (!Char.IsLetter(e.KeyChar) && !Char.IsControl(e.KeyChar))e.Handled = true; }

    Munesh Sharma
    April 16, 2014
    0

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
                 if(e.Keychar=='\b')
           {
                 e.Handled=false;
            }
    }



    Bineesh VP
    July 01, 2013
    0