[Solved] How to execute code when I move from textbox to the next one in c#? [closed]

[ad_1]

private void FileNo_txt_Leave(object sender, System.EventArgs e)
{
     //check if that file number is exist in the database or not.

}

also add this line in your constructor(form Constructor)

this.FileNo_txt.Leave+= new System.EventHandler(this.FileNo_txt_Leave);

1

[ad_2]

solved How to execute code when I move from textbox to the next one in c#? [closed]