Filtering DataGridView
Hi!
I have a dataGridView which is bounded to specific dataTable. I want to filter this dataGridView to show those rows which one of its fields starts with specific code but this field is saved on DataBase and also DataTable as an "int". as an example i have a field named bookCode and i want to filter rows which their bookCodes start with 2 and the bookCode field is saved as an int. how can I do that? I know if it was saved as string I could have used something like this: dataTable1.DefaultView.RowFilter = "bookCode like ' " + code +" '%"; but its not so...
Thanks!

