You can split the comma seperated values into a string array and you can assign the array as a
DataSource
to the
ListBox
.
For example:
string commaSeperatedData = "data1,data2,data3";
ListBox1.DataSource = commaSeperatedData.Split(',');
ListBox1.DataBind();