Hi:

i'm developing a web based application in VB .NET. I have a form where a user can enter some criteria, click on a find button then the results will be posted on a different page on a datagrid. on form1( where the find button is located) i placed the below code in it:

Response.Redirect("area_find.aspx?code=txtAreaCode&description=txtAreaDescription")

txtAreaCode & txtAreaDescription are the criteria on the form
Code & desription are how they are defined in the database

on form2(where the datagrid will display the information) i placed the below code:

If Not IsPostBack Then

Dim v1, v2 As String
v1 = Request.Form("txtAreaCode.text")
v1 = Request.QueryString("code")
v2 = Request.Form("txtAreaDescription.text")
v2 = Request.QueryString("description")

then the sql code comes...

which should i use? Request.Form or Request.QueryString and how?

thanks in advance