I want to have a facebook like search box, where you will get both image and name while searching.
How to fetch both image and name from database?
I have tried using HttpHandler and Jquery and got the result, but I fetched the image from a folder and not from database. The disadvantage of this method is that, both image ID(Image name in folder) and persons ID(Primary Key) should be same.
So, how to fetch image and name from database and display dynamically while searching?