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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -