Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox inside the datagrid
Message
From
28/07/2003 23:21:47
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
27/07/2003 08:16:18
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00813890
Message ID:
00814420
Views:
8
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform