hello all i tried to fetch data from databse and try to stored it in an array and i want to compare new value that come from database with array if this new value is already stored in this array i like to executed new query if not in array i want add this in array and execute another query
in java
durgesh1
0
Newbie Poster
Recommended Answers
Jump to PostWhat EXACTLY is the error message?
Jump to Postwell ... duh.
do you see any reason why this:
name[i]=null;
followed by this:if(name[i].equals(groupname[j]))
might throw a NullPointerException?
All 6 Replies
durgesh1
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
stultuske
1,116
Posting Maven
Featured Poster
durgesh1
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
durgesh1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.