Here is what works for me:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Session("SalesmanID") = TextBox1.Text.ToUpper
If cbBids.Checked Then
TextBox2.Text = "sotype = 'B'"
End If
If cbReturns.Checked Then
TextBox2.Text = TextBox2.Text & " Or sotype = 'R'"
End If
If cbPartial.Checked Then
TextBox2.Text = TextBox2.Text & " Or sotype = 'O'"
End If
If cbRegular.Checked Then
TextBox2.Text = TextBox2.Text & " Or sotype = ''"
End If
Session("what") = TextBox2.Text
MsgBox(TextBox2.Text)
'Response.Redirect("SOS.aspx")
End Sub