Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Results Help  RSS feed

 
Josh Batchelor
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to set strings and value based on what comes out of the database?
Example:
PHN_NMBR_TYP_NM = Home
PHN_NMBR = 5555555555
String phone_name = rs_pt.getString("PHN_NMBR_TYP_NM");
String phone_number = rs_pt.getString("PHN_NMBR");
So what I want to do is make String Home = 5555555555
Hope that made sense.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!