07 2012 档案

摘要:获取GirdView中的控件://单选 protected void chkDelete_CheckedChanged(object sender, EventArgs e) { CheckBox chkAll = this.gvHotCheck.HeaderRow.Cells[0].FindControl("chkAll") as CheckBox; chkAll.Checked = false; } 阅读全文
posted @ 2012-07-09 15:15 Mr zhao 阅读(373) 评论(0) 推荐(0) 编辑
摘要:获取DataList中的控件: 例如:获取Lable: protected void dtFlowBase_ItemCommand(object source, DataListCommandEventArgs e) { Label lblFlowName = e.Item.FindControl("lblFlowName") as Label; string FlowName = lblFlowName.Text; } 阅读全文
posted @ 2012-07-09 15:11 Mr zhao 阅读(451) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示