I have a requirement as follows,
I have to display a list of datas in to a list box in button click functionality. When i click the button, values should be fetched from database table and loaded in to the list box.
for example: the database table has two values say,
i am succesfull in fetching the data and displaying it in the list in following way,
Now i need to align it in the following way in to the listbox
apple 10 pineapple 20 orange 10 jackfruit 25
how can i do this ?
Thanks in Advance