Step 9 - Running the Customer Orders Form
- To run the Web application, click the Start button on the Visual Studio toolbar. When the form displays, it should look like this:

Notice the Orders GridView is not visible. This is standard Web Forms GridView behavior; the GridView doesn't display unless data is bound to it.
- In the Customer ID text box, enter ROMEY, and then click the Get Orders button. The Web Form should display all orders for customer ROMEY (only showing partial columns below):

Note: Since this is the first time you are running your web application, the first time you retrieve orders it take much longer than when you retrieve orders the second and subsequent times. You can try other customer IDs (such as QUICK, QUEEN) to see this speed improvement. - Notice there is no space between the GridView and the controls above it. We'll fix this in the next step.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/25/18
Comment or report problem with topic
