O'Reilly logo

Microsoft® Visual C#® 2008 Step by Step by John Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Navigating Between Forms

A key aspect of many Web Forms applications is the ability to navigate from one form to another by clicking a hyperlink or button. In addition, you often need to pass information between forms. In the CustomerData Web form, it would be useful to be able to click a customer and display another form showing the order history for that customer. This is what you will do in the exercises in this section.

In this section, you will create a new Web form for displaying order history information. You will use a GridView control to display the data, but you will populate the data by executing a SQL Server stored procedure rather than querying a table. The Northwind database contains a stored procedure called CustOrderHist. This stored ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required