/// <summary> /// Get data from datasource /// </summary> /// <returns></returns> private ObservableCollection <Book> GetQueryResults() { BookLib bokLib = new BookLib(); return(bokLib.Search(SearchLib.Search(""))); }
private void loadData(Dictionary <string, string> pStrKeyword) { ObservableCollection <Book> _book = booklib.Search(pStrKeyword); listview_Result.DataContext = _book; }