S
Sharon
hello all,
I was successfull in passing one value from first webpage to second
webpage, but not sure how to pass three textbox values from the first
page to the second page. Below is the code i was using to pass a single
value
First WebPage:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim targetpage As String
targetpage = "webform2.aspx?Text=" + tbfirst.Text
Response.Redirect(targetpage, True)
End Sub
Second WebPage:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Page.IsPostBack Then
Dim textstr As String
textstr = Request("Text")
Label1.Text = textstr
End If
End Sub
Can anyone tell me how to go about passing three values to the
secondpage. Thanks in advance.
cheers, Shilpa.
I was successfull in passing one value from first webpage to second
webpage, but not sure how to pass three textbox values from the first
page to the second page. Below is the code i was using to pass a single
value
First WebPage:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim targetpage As String
targetpage = "webform2.aspx?Text=" + tbfirst.Text
Response.Redirect(targetpage, True)
End Sub
Second WebPage:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Page.IsPostBack Then
Dim textstr As String
textstr = Request("Text")
Label1.Text = textstr
End If
End Sub
Can anyone tell me how to go about passing three values to the
secondpage. Thanks in advance.
cheers, Shilpa.