|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Displaying a string array in a text box
I'm trying to get 4 inputs from the user and placing the inputs into a string array, then put the string array into a text box.
Dim strItemsArray(4) as String txtTitle.Text = strItemArray(0) txtAuthor.Text = strItemArray(1) txtPublisher.Text = strItemArray(2) txtYear.Text = strItemArray(3) txtMain.Text = strItemArray The result is "System.String[]" in the text box What am I doing wrong |
|
#2
|
|||
|
|||
|
Maybe, you want this:
txtMain.Multiline = true; txtMain.Lines = strItemsArray; should work ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Displaying a string array in a text box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|