Click here to Skip to main content
15,912,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey guys, i have a program that functions as a form to fill in.

What i need to happen is for some of the textbox to show previously typed texts by the user so if they are typing their names, they can just select from the suggested texts. any idea how i can start this?

What I have tried:

I saw some articles for Autocomplete however this will require for me to enter specific words on the source. I dont want this as the people filling out the forms are random.
Posted
Updated 1-Feb-21 19:29pm

1 solution

Are you talking about Winform? Use TextBox.AutoCompleteMode Property[^]
Sample article on that
AutoComplete TextBox in C#[^]

If it's Webform, you can use AJAX or jQuery. Search Web for more details.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900