Hi,
I am getting records from the database and store it in a
string variable inside while loop.When i tried to access the variable in another class,i am getting the top most record saved inside the while loop
my code follows:
class1:
class 2:
Actually the records in the database contains aircel and airtel.But when i run this code, i am getting only aircel.
How can i get all the records taken from the database.please assist me to do this.
Thanks