Reduce Code and Server Roundtrips: Figure 1: Create a Sample App.
The sample application illustrates how to execute database stored procedures using both traditional and TVP techniques. Users can search for orders associated
with multiple territories by selecting territories in the ListBox. All orders associated with the selected territories are shown in the grid. Users can also save their search criteria for later retrieval. This allows them to run historical reports by selecting a saved report from the list and clicking the Run Saved Search button.