creating datalist for search.