BindingSource bs = new BindingSource(); bs.DataSource = datagridview.DataSource; bs.Filter = ? //datagridview.Columns[5].HeaderText.ToString; datagridview.DataSource = bs;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)