ADO data control DataGrid(編號:3376)

我現在要在程式執行時由使用者輸入SQL,
然後, 我要把重新Query的結果放在DataGrid上。
我用Adodc和DataGrid要怎麼做呢? 謝謝。