Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox inside the datagrid
Message
De
28/07/2003 23:21:47
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
27/07/2003 08:16:18
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00813890
Message ID:
00814420
Vues:
10
>Hello the Expert,
>
>I am implementing checkbox in the datagrid, I have records (the record type is bit, 0 = false, 1 = true) and each of their value (0 or 1) will be stored to checkbox which located inside the datagrid, how to do this?
>
>Many thanks in advance
>
>Regards
>Winan

Winan,

Create a new template column in your grid. Add the checkbox to the template column. Bind the .checked property to Container.DataItem.myBitColumn. If you use the Grid Builder and interactively bind the .checked property, it will be set to DataBinder.Eval(Container, "DataItem.myBitColumn"), which is okay too.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform