How do I display a checked check box list?
I have a list which gives options A, B and C.
If some one checks A and C and clicks Search, I just want it to write A and C!
If some one checks B and clicks Search, I just want it to write B!
My code doesn't work (it can't convert from Char to String)
public void btnSearch_Click(object sender, EventArgs e)I know this must be a simple thing, but I can't work it out! Any help?
{
foreach(string P in Convert.ToString(chkP.Text))
{
Response.Write(P);
}
}
Thanks