This is a migrated thread and some comments may be shown as answers.

Selected Checkbox Value in the Grid

1 Answer 192 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramachandran
Top achievements
Rank 1
Ramachandran asked on 25 Sep 2017, 09:45 AM

HI
I am a binding a datatable to a gridview.  4 columns are  bit, while displaying the gridview it shows the checkbox,  when I try to click the check box, showing the error setValue. 
Please help me how to set the checkbox values true or false and I hv to save into the database
Table.

Regards

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Sep 2017, 11:03 AM
Hello, Ramachandran, 

Thank you for writing.  

The GridViewDataColumn provides a unified way of converting incompatible value types to a type supported by the column instance. The standard .NET Framework TypeConverter subclasses are used to convert values between data types. Additional information for converting the cell values is available here: http://docs.telerik.com/devtools/winforms/gridview/columns/converting-data-types

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Ramachandran
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or