* UIComboDataGridView: 修复过滤时,列未绑定DataPropertyName出错的问题
This commit is contained in:
parent
594fe19989
commit
b15dbe0486
@ -351,7 +351,7 @@ namespace Sunny.UI
|
||||
List<string> strings = new List<string>();
|
||||
foreach (DataGridViewColumn column in dataGridView.Columns)
|
||||
{
|
||||
if (column.Visible)
|
||||
if (column.Visible && column.DataPropertyName.IsValid())
|
||||
{
|
||||
strings.Add(column.DataPropertyName + " like '%" + edtFilter.Text + "%'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user