【发布时间】:2013-03-07 19:56:45
【问题描述】:
我正在使用 Infragistics WebDataGrid 来显示数据。
当其中一列具有null 值时,该行不会显示在该网格中。
有人有建议吗?
【问题讨论】:
标签: c# asp.net infragistics webdatagrid
我正在使用 Infragistics WebDataGrid 来显示数据。
当其中一列具有null 值时,该行不会显示在该网格中。
有人有建议吗?
【问题讨论】:
标签: c# asp.net infragistics webdatagrid
将所需列的Nullable属性设置为Nullable.Null,如下图:
// Get a column.
UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns["Phone"];
// Set the Nullable to Null so the UltraGrid
column.Nullable = Nullable.Null;
【讨论】: