Posted on: 3/23/2011 2:41:39 AM | Views : 363

Hi all
im pretty new to vb and im trying to post my checkbox answers onto a another page using "Session". The problem is i cant seem to get the answers to add on so it posts all of the answers checked off. currently it just posts one answer no many how many checkboxes are checked.
heres the code for the first page
 
<%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <script runat="server"> Sub Submit_Click(ByVal s As Object, ByVal e As System.EventArgs) _ Handles Submit.Click Dim total As String = "" ' Set the session variable for user options description If (Not CheckBox1.Checked And Not CheckBox2.Checked And Not CheckBox3.Checked And Not CheckBox4.Checked And Not CheckBox5.Checked And Not CheckBox6.Checked ...

Go to the complete details ...