protected void Button1_Click1(object sender, EventArgs e)
{
foreach (RepeaterItem contact in rptList.Items)
{
HtmlInputCheckBox cBox = contact.FindControl("chkteklif") as HtmlInputCheckBox;
if (contact is HtmlInputCheckBox)
{
string a = cBox.Value;
}
}
}
我使用了这段代码,但这段代码找不到 HtmlInputCheckBox .. 知道吗?