Pruthvi Patel

Pruthvi Patel

  • NA
  • 129
  • 21.8k

Split the string of database column and display it as labels

Apr 21 2016 9:51 AM
I am want to split the stored in database as like below and and make label as much the word get by split that my sql table is like this
 group id users
 1 pruthvi,prathana,aakash
 2 dhruti,dixita
 3 upexa
 and i am want to display it in webform as labels(should be created based on the result of split the string)
E.g.
if i fetch first row 's data than it shoud be give output like this.(3 labels)
 
pruthvi
prathana
aakash
Please Help me for this
 
Thanks 
 

Answers (1)