Author: micnie2020 | Posted on: 5/12/2009 1:06:48 AM | Views : 267

Dear all,

 

How am i going to click on submit button and trigger the function SearchNews and pass  Request.QueryString("search") into the url?

 

My example code as below

  <script language="vb" runat="server">


Sub SearchNews(sender as object, e as EventArgs)
Dim strSearchSQL as string
Dim address as string

address = "/mic/agape/cms/news.aspx?search=" & Request.QueryString("search")
Server.Transfer(address)

End Sub

</script>



<form style="margin-top: 3px; margin-bottom: 1px;" runat="server">

<table border="0"< ...

Go to the complete details ...