>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only