How to use textbox lost-focus event [duplicate]
问题 This question already has answers here : Jquery function when a textbox loses focus (4 answers) Closed 6 years ago . I have a textbox and I want to check the data from database for duplicate record when I lost the cursor from textbox. So please help me how to solve this. 回答1: VIPUL, I created the following example for you. This can help you to check the data from the textbox with the data in the Database. private void textBox1_Leave(object sender, EventArgs e) { //Put the value to be checked