OtepTheThird 0 Light Poster

Hi guys,
Need help for this, i'm developing an application and here's what im trying to do:
-I have a search box where i can type and search for a data(With DataGridView). then after i searched & found that data when click it on DataGriView as highlighted, data will be viewed on ReportViewer.

All i need is Code for Searching in database(MySQL)
and function on how to pass it to ReportViewer.

Thanks.