Пример #1
0
        /// <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() + ",";
                }
            }
        }
Пример #2
0
 protected virtual void OnRowDataBound(GridRowEventArgs e)
 {
     EventHandler<GridRowEventArgs> handler = Events[_rowDataBoundHandlerKey] as EventHandler<GridRowEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Пример #3
0
 protected void gr_Main_RowDataBound(object sender, ExtAspNet.GridRowEventArgs e)
 {
 }