How to link a recordset to a data grid?

I made an sql and want to link it to a datagrid, how to fix it?