I have two textboxes called txtemployee_code and txtname. and i have a sql procedure where if i enter employee_code and execute the procedure i can get the employee_code and name.
what i want to do is after enter employee_code in txtemployee_code field and press tab key then name will show in the txtname field
please someone help me to get the answer.....
please.....
thanks....
Satyapriya NayakPosted Sep 4, 2010, 7:35 AM
Here is the C# version of the above code.
Thanks
Satyapriya NayakPosted Sep 3, 2010, 2:31 PM
This is a simple application i did it of your requirement.Run the attachments.
Thanks
If it helps you plz mark it as Accepted answer
Felipe RamosPosted Sep 3, 2010, 9:50 AM
ShankeyPosted Sep 3, 2010, 9:49 AM
In this case you can call the event of the text box onblur()/OnLostFocus and onblur/OnLostFocus you can fetch the name of the employee and can fill in the text box.
Dont forget to mark my answer as accepted if it helped you :))