Help for searching in phonebook
-
Hi All can anyone help me for searching in phone book? I use text file for saving data. I want to find all names that contains the input character. I dont now how do it. pleas give me a solution.
-
Hi All can anyone help me for searching in phone book? I use text file for saving data. I want to find all names that contains the input character. I dont now how do it. pleas give me a solution.
First thing you will have to do is to read the data from the file. You may want to read line by line looking for the characters in question. Alternatively you could read the entire file into some sort of List/Array/Dataset etc and then use the methods of those objects to search. Take a look at the foregoing classes to get some ideas of what is possible.
-
Hi All can anyone help me for searching in phone book? I use text file for saving data. I want to find all names that contains the input character. I dont now how do it. pleas give me a solution.
Which version of Windows Mobile platform you are using? I think you can try with ContactCollection sample in MSDN [^]if it gives you any hint.
Regards, Arindam Sinha MyBlog - http://arindamsinha.wordpress.com/ Please give your feedback on this message using rating.