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

question regarding getInt method  RSS feed

 
Prasad Kharkar
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really gone mad due to the behavior of the code here
I have two columns both having data types as number and I am retrieving them in java code for railway reservation project

The column name is same
and it works for the first line but not for second
can anyone tell why does it happen?
and yes
giving the index does not work also please help
 
Jan Cumps
Bartender
Posts: 2630
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Show us how you created the sql statement.
 
Prasad Kharkar
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hahaha
I forgot to add the column name in the query..
and its because you asked me to give the query
thank you Jan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!