J
Jeff
hi
asp.net 2.0
I have an if statment in my code which test if row state is in Edit mode
if (e.Row.RowState == DataControlRowState.Edit)
{
}
But now I've learned that that code will not be executed when the row also
have Alternate state.
So how should the if statment above be if I should include Alternate state
too?
I've tryed this, but it doesn't seem to work
if ((e.Row.RowState == DataControlRowState.Edit) || ((e.Row.RowState ==
DataControlRowState.Edit) && (e.Row.RowState ==
DataControlRowState.Alternate)))
any suggestions?
asp.net 2.0
I have an if statment in my code which test if row state is in Edit mode
if (e.Row.RowState == DataControlRowState.Edit)
{
}
But now I've learned that that code will not be executed when the row also
have Alternate state.
So how should the if statment above be if I should include Alternate state
too?
I've tryed this, but it doesn't seem to work
if ((e.Row.RowState == DataControlRowState.Edit) || ((e.Row.RowState ==
DataControlRowState.Edit) && (e.Row.RowState ==
DataControlRowState.Alternate)))
any suggestions?