删除字段中出现的布尔数据类型值复选框 [英] remove the checkbox appeared for bool data type value in a field

查看:122
本文介绍了删除字段中出现的布尔数据类型值复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据集污染了一些包含布尔值的列,当我将数据集填充到DEV EXpress Grid视图时,这些值显示为复选框...我不想显示实际数据的复选框....我该怎么办?

my data set contaions some colums containing bool values when i populate the dataset to DEV EXpress Grid view it shows these values as check boxes...i dont want to shw check boxes rathe the actual data....what should i do?

推荐答案

根据技术(窗体,asp,wpf),解决方案有所不同.但是基本的经验法则是,您不要让网格自动填充列,而是您自己定义列(在代码中,xaml ...),并且为每个列定义适当的编辑器(并非总是需要)如果只是简单地显示数据).
Depending on the technology (forms,asp,wpf) the solution is a bit different. But the basic rule of thumb is that you don''t let the grid populate the columns automatically, but you define the columns by your self (in code, xaml...) and you define proper editor for each column (not always needed if the data is simply shown).


检查是否与此相关的示例 [ ^ ]会有所帮助.
Check if this related example[^] helps.


这篇关于删除字段中出现的布尔数据类型值复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆