listbox - cannot convert from 'string[]' to 'System.Windows.Forms.ListViewItem.ListViewSubItem -


welcome have problem.i need listbox.
problem is: cannot convert 'string[]' 'system.windows.forms.listviewitem.listviewsubitem'

my code this:

         string[] itemss =  regex.split(textbox1.text, "\r\n") ;         // string[] arrteammembers = new string[] { tb.text };         // listviewitem<string> newlist = new listviewitem<string>();           listviewitem newlist = new listviewitem("1");             newlist.subitems.add(itemss);             newlist.subitems.add("3");             newlist.subitems.add("4");             newlist.subitems.add("5");             newlist.subitems.add("6");             listcontacts.items.add(newlist); 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -