I am trying to display a listbox(list of Column Names selected from a table in database)into a textbox displaying like a CSV file format.
Please be notice that I do not want to create a CSV file, as I said I just like to pass items from listbox into a Textbox in a comma seperated format.
lets say I have a listbox populated like:
lstCols.Items.Add("Name"); lstCols.Items.Add("ID"); lstCols.Items.Add("Age"); lstCols.Items.Add("City");
Now how I can display the above list in a text box like
Name, ID, Age, City
I realy appreciate your time in advance
Edited by Behseini: n/a