** are comments - remove them Sub btnSubmit_Click(s as object, e as eventargs) If Page.IsValid then dim eventid as string ** declares a string variable to hold the field being passed eventid = updateeventID.text ** puts the value that was typed into the textbox into the variable response.redirect("updateresults1.aspx?ID=" & eventid ) ** sends the variable in the querystring to the next page as ID End if End Sub **On the updateresults1.aspx page, this code would be in the page_load subroutine: dim intEventID As Int16 = Request.QueryString("ID") ** this declares a variable as an integer (correct for autonumber, but use a string for text fields) ** and retrieves the field named ID from the querystring and puts it into the variable