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

from char/varchar to gridviewbooleancolumn

1 Answer 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Norman Giovanni
Top achievements
Rank 1
Norman Giovanni asked on 06 Aug 2010, 05:41 PM
hi,

Recently I downloaded trial version of your products, I think those are good components makes developing stage easier. My question is. Database doesn't support boolean datatypes, so, I use char(1) to represent 'Y', 'N' values, but I need this be displayed by gridviewcheckboxcolumn, how can I do to make it possible since gridviewcheckboxcolumn must be binded to a boolean column into datatable and no way to translate string column datatable into boolean column datatable? 



'Y' - On

'N' - Off



thanks

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 11 Aug 2010, 04:11 PM
Hello Norman Giovanni,

Thank you for contacting us.

You can achieve the desired behavior using the new grid conversion layer. You will be able to find more about conversion layer features in this blog post. Also you can see Convert Values example under Manipulate Data in Telerik Demos (to start the demos please follow this path: Start Button >> All Programs >> Telerik >> RadControls for Winforms [version] >> Run Demos). It demonstrates exactly the scenario you are after.

Let me know if I can assist you further.

Sincerely yours,
Svett
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Norman Giovanni
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or