请教老师,以下代码为例,想把TextBox1的多值内容(A,B,C)经转换后在TextBox2(多行文本)中
显示为
A
B
C
Dim tb As WinForm.TextBox = e.Form.Controls("TextBox1")Dim st1 As String = e.Form.Controls("TextBox2").ValueDim st2() As String = st1.split(",") '& vbcrlf 不能在此设置For Index As Integer = 0 To st2.Length - 1 tb.value & = st2(Index)Next
此代码,转换后在TextBox并没有实现拆分显示,不知在哪里设 & vbcrlf