DataControlRowState

  • Thread starter Thread starter William Snell
  • Start date Start date
W

William Snell

I got through it with this:

if ((row.RowType == DataControlRowType.DataRow) &&
((row.RowState & DataControlRowState.Edit) > 0))
 
Also, avoiding the admittedly harder to read AND bitwise operator, this works:

row.RowState == DataControlRowState.Edit
 
Back
Top