Creating an Event Handler

G

Guest

I am programmatically creating 20 textboxes. When a user is using my
application, they can choose to double click one of these textboxes and
select an item from a dropdown to populate the textbox. Got that...no
problem. What I would like to know is how should I handle it if the user
decides to type in their choice? I need to be able to validate their choice
and make sure they typed their entry the same as I have it in the database
and tell them it is incorrect if it does not match. How can I set it up so
all 20 textboxes fire the same TextChanged Event, or is that the wrong way to
approach this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top