I want to bind datagridview in windows application with dynamically changed datatable.

I have windows form with two textboxes, one for connection string with sql server and the other for sql query string. I just want to display data in datagridview in order to see data. I don't need anything fancy, just to read result of sql query.

Thanks in advance!

DP