I have a textbox, when textchange event fired, I want to compare the old value with the changed value.
How to get the old value?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Register the KeyDown-Event of the TextBox. This is event is raised when a Key is pressed and before the TextChanged-Event of the TextBox is raised.
In this event, you can get the current Text by calling the Text-Property of the TextBox.