I searched the site but could not find the answer.
I have a list called "CompetitorDetailsOutput". Then I have a text box called "search query" and a "searchbutton" button. The data in the list box is constantly changing and receiving data from a TXT file that stores data in the following format
string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12}", Name, CPSA, PostCode, Rank, Score1, Score2, Score3, Score4, Score5, Score6, Score7, Score8, TotalSingleScore);
the list is then displayed as follows
string.Format("{0,-20}|{1,-10}|{2,-9}|{3,-7}|{4,2}|{5,2}|{6,2}|{7,2}|{8,2}|{9,2}|{10,2}|{11,2}|{12,3}", Name, CPSA, PostCode, Rank, Score1, Score2, Score3, Score4, Score5, Score6, Score7, Score8, TotalSingleScore)
I want to be able to search in the list: the user enters data only in the "search" and clicks "searchbutton", the system then searches in the list. If he finds that he selects an item in the list, if not, then a match is selected, if there are no close matches, then an error message appears.
Code is C # and VS 2008 Pro Software
thanks