In this article we will discuss to create autocomplete textbox using webmethod in asp.net c# application. It provides suggestion in a dropdown menu while the user enters text into the field. Please change the database connection string to connect your database.
The purpose of using enumeration is to improve readability by enabling us to use meaningful symbols instead of numeric values. The value of variable is an integer,it is easy to output the name of the symbol rather then its value.