Thank You for answering my post. Your feeback is greatly appreciate.
However I am unsure how to complete the solutions. Specifically for the foreach section. What should I put in this section to ensure the checkboxes are checked. Sorry I am completely new to C# and Asp.Net.
Am I supposed to do something like this.
if (Session["selections"] != null)
{
var selections = Session["selections"] as List<string>;
foreach (var selection in selections)
{
// Do something here.
}
}
Member
13 Points
24 Posts
Re: Casting Back Session Variables C# Asp.net Multiple Checkbox List
Sep 24, 2015 11:53 AM|coderPoet|LINK
Hi Rion,
Thank You for answering my post. Your feeback is greatly appreciate.
However I am unsure how to complete the solutions. Specifically for the foreach section. What should I put in this section to ensure the checkboxes are checked. Sorry I am completely new to C# and Asp.Net.
Am I supposed to do something like this.
asp.net Session csharp