Friday, March 16, 2012

Passung CheckBox Values Question

After a user selects checkboxes and submits by clicking a button i can
retrieve the values True/False by calling the
Context.Items("Message") in the page_load of the retrieving page like
below

Sub doSubmit(ByVal Source As Object, ByVal E As EventArgs)
Context.Items.Add("Message", MessageBank.Checked)
Server.Transfer("page2.aspx")
End Sub

But what if page2.aspx contain strings like
"page2.aspx?sid=<#DataBinder>"
Whats the right thing to do if i want to retrieve those values on the
page like above i need it because i want to insert the record to a
table.
Any ideas?

*** Sent via Developersdex http://www.developersdex.com ***using context will be better coz it is secure than the second methos. one
can manipulate a query string not a context item.

0 comments:

Post a Comment