You can do it two ways.
1) Create a command object in ado, create the parameters for the command object, get the resultset (with a recordset) and bind the recordset to the data report. First create the report with the specific fields in the report textbox object and type in the field names in the report textbox datafield property. The at run time you bind the recordset to the data report datasource property.
or
2) Create a command object using the data environment. Create the parameters and bind the data environment object to the data report's datasource property and the command object to the data report's datamemeber property; as well as the fields.