Please i need a code to search my access database through 2010 . Also i want the record searched to be displayed on a datagrid or listview with.

please help me i am new to programming

i have just created the datagrid and a text box also a search button.
i dont know the code to input so that when i run the prog and type a specific email address or phone number it would bring out only that record instead of the full database.
i also like to put a radio button to giv me access to search by email or phone

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.