I'm new in C#. I want my data to fill the first column first, and then the data will fill to the next column after filling the first column with user define row. The data will fill the next column when it reaches the row limit. The Rows and Columns are dynamic depends on user input. Thanks Screenshot in the links
Input:
Expected output:
string[] separators = { ",", " " };
int[] row = new int[Convert.ToInt32(textBox1.Text)];
string value = textBox2.Text ;
string[] words = value.Split(separators, StringSplitOptions.RemoveEmptyEntries);
ArrayList val = new ArrayList();
val.Add(value);
foreach (var word in words)
{
listView1.Items.Add(word);
listView1.View = View.List;
}

