标签:
后台代码:
for (int i = 0; i < this.GvCourses.Rows.Count; i++){ CheckBox chb = this.GvCourses.Rows[i].FindControl("CheckB") as CheckBox; if (chb.Checked) { strDelete += "," + this.GvCourses.Rows[i].Cells[0].Text; }}<asp:CheckBox runat="server" ID="CheckB" />标签:
原文地址:http://www.cnblogs.com/lanke0/p/5719414.html