There are two related parts in my inquiry. The first one is on a sample SqlDataSource control bound to a gridview.Instead of: SelectCommand="SELECT [CustomerID], [CompanyName], [ContactName], [Address], [City], [PostalCode], [Phone] FROM [Customers]">How can I use a stored procedure (spDetails) that returns same recordset as above, but with stored proc requiring two input parameters from a user control CalendarStart.SelectedDate & CalendarEnd.SelectedDate.Here is the full code I am basing from: