Saqi

Saqi

  • NA
  • 63
  • 122.3k

How to retrieve data from datatable android

Jun 20 2012 1:26 PM
its not working giving error . why ?


                 String query = "Select * from DOMICI "
                  + " SEG ="+seg.getText().toString()
                  + " And UNIDADE ="+ubs.getText().toString()
                  + " And  AREA ="+area.getText().toString()
                  + " And MICROAREA ="+microarea.getText().toString()
                  + " And IMOVEL ="+imovel.getText().toString();



                  Cursor c =my.rawQuery(query,null);

Answers (1)