Hi, I'm trying to read through your code...maybe I'm missing something with the logic....but you've got about 8-9 lines of code repeated in both the Load event and the textchangedevent, except for one line where you're setting the data source for a grid. Does this code need to be repeated?