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 TanPosted Jan 18, 2017, 10:33 PM
Emad AhmedPosted Jan 19, 2017, 7:12 AM