// get datas from database.
var query = _context.Database.SqlQuery<my_Type>("my_stored_procedure");
var binding = new BindingList<my_Type>(query.ToList());
bsMasterPrimary.DataSource = binding;
myDataGridView.DataSource = bsMasterPrimary;
//filter
DataView dv = new DataView();