Posts

Showing posts from March 15, 2019

how to add details in specific column in list view

Image
1 I wanna add details to watchers column like my following image.. I use following code to add those details.But it prints in 1st column.. could anybody tell me to do this. screenshot Here's the code I've used: private void addwatchers(string watchers) { string row = { watchers }; ListViewItem item = new ListViewItem(row); //ADD ITEMS listView1.Items.Add(item); } private void button2_Click(object sender, System.EventArgs e) { string cwatchers = richTextBox2.Text.Split('n'); for (int i=0;i<cwatchers.Length;i++) { addwatchers(cwatchers[i]); } } c# listview share | improve this question