Muthu Level: Trainee
 Registered: 20-02-2008 Posts: 2
|
Database searching
I have created student database in MS Access name "Student.mdb" table name is "student list" table having four fiedls name 1.Registration No, 2.Student Name, 3.standard, 4. city . In vb i have designed one form "frmsearch" in that i have placed one text box name "txtsearch, two option button, name "optsearchmode Regno" & "optsearch mode alphabetical " and on datagrid contol & one command button name "cmdsearch"
My question is
1. user optsearch mode Regno and enter Regno in txt search and click seach command button the resulat will display MessageBox, Found Or not.
2. user optsearch mode alphabetical and enter *A* in txt search and click search command button the resulat will display in Datagrid control only the name begin with A.
how to wite the code for above my question
Note: I am connecting the database using ADODC
awaiting your valuable reply
|