Most like the error is on row
dv.RowFilter=dr["country_id"].ToString();
If country_id column contains a value of 1 then the filter would be just "1".
For the filter you need to have a proper boolean evaluation so that the dataview can decide if the row is to be included or not. For example
dv.RowFilter="country_id = 1";