DataControlRowState

W

William Snell

I got through it with this:

if ((row.RowType == DataControlRowType.DataRow) &&
((row.RowState & DataControlRowState.Edit) > 0))
 
W

William Snell

Also, avoiding the admittedly harder to read AND bitwise operator, this works:

row.RowState == DataControlRowState.Edit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,413
Latest member
KeiraLight

Latest Threads

Top