Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataControlRowState
Message
De
08/03/2007 08:52:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01201818
Message ID:
01201887
Vues:
12
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform