Question : Key Press Event

Hi
I am writing windows app and trying get the text of textbox on keypress.

Suppose Say User Enters A. I am getting first blank and then A which is not correct

I should directly get A when user presses A

What is the solution

Answer : Key Press Event

Sorry:

string s = ((TextBox)sender).Text + e.KeyChar;
Random Solutions  
 
programming4us programming4us