Hello,
I'm trying to make a checkbox list which when items are selected are put into session state. I want the items selected to be put into session state so I can display them on the postback url page.
As for the items in the checkbox list (data) I want that to come from the following:
<script language="c#" runat="server">
public void Page_Load()
{
air YELLOW = new air();
YELLOW.color = "YELLOW";
air GREEN = new air();
YELLOW.color = "YELLOW";
}
</script>
I have the above in the cs page of a webform and I have the class air setup. Basically I want to databind the above together then have whatever selected items put into session. I will be going from the original page to the postback page via a image or button.
I currently do not know to move forward. I do not know how to databind them together, set up the session so whatever is checked is put into session and then display it on the postback page.
Hopefully I'm not confusing you.