android - How to save a data retrieved from database into a string? -


is possible save data retrieved database string?

for case want save tag_name data database string. can same way done textview?

 // display product data in edittext                 txtwelcome.settext(product.getstring(tag_name));                  string name = (product.getstring(tag_name)); 

its absolutely possible,as product.getstring(tag_name) returns string either empty or value,you can store in string.

and can store value db string using .tostring() extension


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -