问一个特别简单的传递参数的问题
我的一个页面上有一个TEXTBOX和一个BUTTON,点击BUTTON时进行商品查找
结果系统提示"找不到资源",我把几条关键代码帖出来,大家帮忙看一下.
查找页:
Sub search_click(ByVal sender As Object, ByVal e As EventArgs)
Response.Redirect("admin_zdyresult.aspx?key=" & TextBox1.Text & "")
End Sub
显示结果页:
Dim keys As String = Request.QueryString("key")
Dim strsql As String = "select * from product where pname='" & keys & "'"