For example, an
101
10
01
02
with "* 0" will be able to check out these four data
can only detect 01 and 02 with "0"
how to enter a "0" will be able to check out with these four outputs, the following their own way to hold back the day before found
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DifferentialBackup
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
}
private void Form3_Load(object sender, EventArgs e)
{
string sql = "select top 100 * from pub_dict";
gridControl1.DataSource = SqlHelper.GetDataTable(sql, CommandType.Text);
}
private void gridView1_ColumnFilterChanged(object sender, EventArgs e)
{
FuzzyQuery();
}
private void FuzzyQuery()
{
string newFilter = string.Empty;
string filter = gridView1.ActiveFilterString;
newFilter = filter.Replace("StartsWith", "Contains");
gridView1.ActiveFilterString = newFilter;
}
}
}
Reproduced in: https: //my.oschina.net/dongri/blog/610897