Hi guys,
I'm working on a simple programming to read/write to database(using MS Access).
MY DB:
ID_ ADDRESS_ CONTACT_NO_
(3 columns)
Now in Windows Form, if searched for an address, I want all the the address (which is in Db) if matched with the searched text, to be listed in a listbox(optional, or something else).
Then I will choose from the list a particular address(by double-click) to show the other information of it in textboxes.
Now I'm working it, able to read the data from DB and put it the data in DataTable.
I use Regex to find the matched searched item and what I need to do next?
I'm out of ideas.
Maybe I can put all the matched item to a listbox.
But after I double-click a item from listbox I need to call again the DataTable to get back the other information for that particular address.
I guess this is not good.
Can you guys suggest me away to do this?
Please dont suggest me with source codes, I just need your ideas. The source codes, I will try to work on myself.
Thanks,
Skunkhead :)