I wanted to send all the selected checkbox items to the class how do i send it.if i use check1.selectedvalue/item it sends only one.so how do i do this
protected void check1_SelectedIndexChanged(object sender, EventArgs e)
{
for (int z = 0; z < check1.Items.Count; z++)
{
if (check1.Items[z].Selected)
{
string checking = "\u2022" + check1.Items[z].Text ;
}
}
Mail emailsystem = new Mail();
emailsystem.GetEmail(comment.Text, StatusList.SelectedValue, check1.SelectedValue);
}
You will need to concatenate the text of checked checkboxes and pass it to you emailSystem