>In the GridView RowDataBound event I am checking for the Row.RowState value.
>As far as I know those are the available DataControlRowStates:
>
>Normal = 0,
>Alternate = 1,
>Selected = 2,
>Edit = 4,
>Insert = 8
>
>When I step into the code I noticed that in some cases my Row.RowState = 7.
>
>Does anyone knows what 7 is ?
>Thank you,
>Daniel
It's 4+2+1 = 7 IOW it's a bit flag stating that you're on an alternate row, selected that row and editing (bits 1,2,3 are set).
Cetin