protected void ASPxGridView1_HtmlRowPrepared(object sender, ASPxGridViewTableRowEventArgs e)
        {
            
if (e.RowType != DevExpress.Web.ASPxGridView.GridViewRowType.Data) return;
            
int s = (int)e.GetValue("TeaID");
            
if (s > 1001)
                e.Row.ForeColor 
= Color.Red;
        }

 

        protected void ASPxGridView1_HtmlDataCellPrepared(object sender, ASPxGridViewTableDataCellEventArgs e)
        {
            
            
//int s = (int)e.GetValue("TeaID");
            
//if (s > 1001)
            
//    e.Cell.ForeColor = Color.Red;
        }

相关文章:

  • 2021-11-13
  • 2021-09-29
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-07-12
猜你喜欢
  • 2021-08-14
  • 2021-07-31
  • 2021-07-13
  • 2022-02-07
  • 2021-08-24
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案