how can i add value a perticular coloum from database to text view

view story

http://stackoverflow.com – I Am new in android programming and i need help for my project... i want to add values of particular database table column into textview.. i mean if i search some string ABC in coloum name then corrosponding address value in the table should be displayed in textview... please help me with this. can i use this code.. if yes then how? Cursor c = table.fetchDataByID(id); if(c.moveToFirst()) { do { id = c.getSteing(0); }while(c.moveToNext()); } c.close(); (HowTos)