Hello!
I need some help with something I'm working on.
In the page load I fill an array with some values, and when I click a button im supposed to use them, but the problem is the values disappear because there is a postback.
I'll show an example
Dim Cards() as String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Cards = TextBox1.Text.Split(vbCrLf)
End sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
For i = 0 To UBound(Cards)
TextBox2.Text = TextBox2.Text & Cards(i)
Next
End sub
At the button click, the values are gone. Any solutions?
...
Go to the complete details ...