Learning Resources
 

Fetching data for the details


Add a GridView to the page and associate it with the SqlDataSource just created. At this point you're done! As Figure 18 and 19 shows, when viewing the page through a browser the user is shown the list of products in a DropDownList and the selected product's order details information in a GridView below.

Aa479344.gridview_fg18(en-us,MSDN.10).gif

 

Figure 18

Aa479344.gridview_fg19(en-us,MSDN.10).gif

Figure 19

 

--MSDN