one of column is boolean. and right now, it shows 1 or 0. I need to make it a checkbox. is it possible?
how to make boolean value to a checkbox?
-
- User
- Posts: 6
thank you so much. now in the edit page, it has 2 checkboxes for yes and no. I can select both of them. how can I make it that when user selects Yes, no will be automatically unchecked and vice versa.
also on the list page, this boolean column I want to show one check box there, if value is true, it should show a checked checkbox, if value is false, show a unchecked checkbox.
-
- User
- Posts: 258
Do you set the field as Boolean? What database you use? If you use Access and select "checkbox", only one checkbox will show in Edit/Add Page. And it will display as checkbox in list page.
You can download the demo project from this site to see the setup, http://www.hkvstore.com/aspnetmaker/demo.asp.