What I want to do is to filter the RadGridView on form load according to the txtInnovationID.
TableSituation.InnovationNameID = txtInnovationID
I use this code to filter strings, but how to modify to filter int32.
- BindingSource bs = new BindingSource();
- bs.DataSource = TableSituations.DataSource;
- bs.Filter = TableSituations.Columns[2].HeaderText.ToString() + " LIKE '%" + txtInnovationID.Text + "%'";
- TableSituations.DataSource = bs.DataSource;

Bryian TanRank #396 · 6.3K reputationPosted Jan 18, 2017, 5:33 PM EST
Emad Ahmed51 reputationPosted Jan 19, 2017, 2:12 AM EST