you would have to write javascript so that on each keypress you would check the script against the array and return the next item in the array.
If you wanted to do it server side you can do the same against a larger array using ajax. AFAIK MS Ajax 1.0 has an autocomplete extender for a text box out of the box.