Passing Array values to listbox
hi,
i'm trying pass the following array values in list box using power shell
$values =@('test1','test2','test3','test4').
out put of list box show as
test1 test2 test3 test4.
i need these items 1 one in list box
test1
test2
test3
test4.
please advise.
thanks
works fine me , has worked. simple collection can added using addrange. how listbox works.
you should start here see how use control: https://msdn.microsoft.com/en-us/library/system.windows.forms.listbox%28v=vs.110%29.aspx?f=255&mspperror=-2147217396
\_(ツ)_/
Windows Server > Windows PowerShell
Comments
Post a Comment