So you have a collection of some kind of data, and based on the number as the query in the first textbox you want to generate data in the second textbox? That's my understanding so far...

I don't get what you want added to the second textbox after the user hits enter though, that will require more explanation.