/// <summary> /// 结果录入绑定事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void gvOrderTest_RowDataBound(object sender, ExtAspNet.GridRowEventArgs e) { //实体接收数据 Ordertest row = e.DataItem as Ordertest; if (row != null) { string entranceYear = row.IsexceptionToBool; if (entranceYear == "异常") { highlightRows.Text += e.RowIndex.ToString() + ","; } } }
protected virtual void OnRowDataBound(GridRowEventArgs e) { EventHandler<GridRowEventArgs> handler = Events[_rowDataBoundHandlerKey] as EventHandler<GridRowEventArgs>; if (handler != null) { handler(this, e); } }
protected void gr_Main_RowDataBound(object sender, ExtAspNet.GridRowEventArgs e) { }