Database Reference
In-Depth Information
Figure 9.20
Data set for GridView.
11. Click Next to go to the Test Query page. Click the Test Query button; you will have
the class information displayed as shown in Figure 9.20. hen, click Finish .
12. Assume that the GridView is still displayed on your screen, click the smart tag > and
select Edit Columns as shown in Figure 9.21.
13. When the Fields dialog is opened, in the Available ields pane, expand CommandField ,
choose Select , and click the Add button. In the CammandField properties pane, spec-
ify But t onTy p e as Button and make sure that ShowSelectButton is True . hen,
click OK (Figure 9.22).
14. Select the GridView1 property in the Properties pane located at the lower-right corner
of your screen. Specify DataKeyName as ClassID as shown in Figure 9.23.
Figure 9.21
Edit columns in GridView.
Search WWH ::




Custom Search