Basically what I want is the fill query of the data grid view like this

> 
> SELECT DealerName, OrderId, DealerId, OrderDate, ItemType, Price, Quantity, Total, TotalBill FROM dbo.DetailedRecord where DealerName=ComboboxName.SelectedValue
> 
> 
> 

I can't see how to add parameters to it and I don't want to use the fill by toolstrip

Thanks