Android sqlite Cursor value to a textbox -
text = (textview)findviewbyid(r.id.textview123); cursor sum = dbobject.rawquery("select sum(volume) share _id2 ?", new string[] { "%" + val1 + "%" });
how sum value textview?
thank in advance,
this.startmanagingcursor(sum); //or (activity) .startmanagingcursor sum.movetofirst(); text.settext(sum.getstring(0));
Comments
Post a Comment