I have string which has data in comma-separated format. like below.
xyz,abc,lmnk
Now I need to show these items in one of the column in listview or datalist but like below (vertically).
xyz
abc
lmnk
How to do? Not able to figure out.
I have other columns to show in listview and my listview in bind with custom object. Like below.
List<Product> p =GetProductlist();
lvProduct.DataSource = p;
And now in my listview i am showing the content of list like
<a> '<%#DataBinder.Eval(Container.DataItem,"ProductName")%>'</a>
<a> '<%#DataBinder.Eval(Container.DataItem,"ProductIntegraidents")%>'</a>
and here the ProuctInegraident contains the comma seprated text.