How can I redirect based on a selection of a DropDownList
<p>I have a <code>TextBox1</code> and a Search button in my application with this following code:</p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
{
    Response.Redirect("~\\searchpage.aspx?PatientNRIC=" + TextBox1.Text);
}
</code></pre>

<p>Which means, if the user type ONLY <code>IC NO:S1234567D</code>, then when click it will show the patient detailview.</p>

<p>So I now I'm doing almost the same thing but now I have a <code>TextBox2</code> and a <code>DropDownList1</code>. Inside <code>DropDownList1</code>, I have "Name", "IC No", "Test_Date".</p>

<p>So for an example, I type "S1234567D" in the textbox1, and I choose "IC No" in <code>DropDownList1</code> it should redirect me to a page of the S1234567D's patient detailview.</p>

<p>How could I do my code? Thanks!</p>
