From 81e7b1f5d2214a7f48b0b522f6fd77b1ee62eefc Mon Sep 17 00:00:00 2001 From: Schr0dingerCat <174683306@qq.com> Date: Wed, 31 Aug 2022 08:10:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20SunnyUI/Controls/DropItem/UIComboDataG?= =?UTF-8?q?ridViewItem.cs.=20UIComboDataGridView=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E5=8A=9F=E8=83=BD=E6=97=B6=EF=BC=8C=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E4=B8=AD=E5=8C=85=E5=90=AB=20*=20=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=8A=A0=E4=B8=8A'[]'=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E8=BD=AC=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Schr0dingerCat <174683306@qq.com> --- SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs b/SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs index cb90b174..b2f2e8c1 100644 --- a/SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs +++ b/SunnyUI/Controls/DropItem/UIComboDataGridViewItem.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Data; using System.Windows.Forms; @@ -365,7 +365,7 @@ namespace Sunny.UI filter = string.Join(" or ", strings); } } - + filter = filter.Replace("*", "[*]"); if (dataGridView.DataSource is DataTable table) { table.DefaultView.RowFilter = filter;