我想将所有选定的复选框项目发送到班级我如何发送它。如果我使用check1.selectedvalue/item
它只发送一个。所以我该怎么做
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);
}