Looping results from mysql

LOOKATYOU

Member
May 9, 2011
34
4
Please forgive me in advanced if this is I the wrong place or sounds stupid question but am practising app programming for android using visual studio, with xamarin and c#

WHAT I WANT TO ACHIVE. the app will run mysql code, the code would then get and return the data as a check box, the check box name will become the name from the database.

WHAT WENT WRONG the result get returned more then one time. And is duplicated at random amounts

For example I have bar, and dog, in a database.

The result would be like this Bar, bar, bar, dog dog dog, or bar, dog, ba, dog

I dont want this behaviour and instead want just bar, dog.

My code is below at the link pastebin.com/SDS6etss

I had a friend look at the code also and he changes some stuff but didnt fix our issue
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
You must be registered for see images attach

Post automatically merged:

Look into binding -
 

Users who are viewing this thread

Top