Answers for "how to make search in datagridview c#"

C#
2

c# datagridview search filter

private void txtSearch_TextChanged(object sender, EventArgs e)
        {
            DataView dv = table.DefaultView;
            dv.RowFilter = "FirstName LIKE '" + txtSearch.Text + "%'";
            dataGridView1.DataSource = dv;
        }
Posted by: Guest on September-23-2021

Code answers related to "how to make search in datagridview c#"

C# Answers by Framework

Browse Popular Code Answers by Language