摘要:
最主要就是在后台重写render事件: protected override void Render(HtmlTextWriter writer) { foreach (GridViewRow row in this.GridFreight.Rows) { if (row.RowType == DataControlRowType.DataRow) { row.Attributes["onclick"] = ClientScript.GetPostBackEventReference(this.GridFreight, "Select$" + r... 阅读全文