Database Reference
In-Depth Information
Figure 11.29
Conigure AutoFormat.
Make sure that the GridView section looks like the following:
<
asp:GridView ID
=
"GridView1" runat
=
"server"
AutoGenerateColumns
=
"False" DataSourceID
=
"ObjectDataSource1"
>
15. In the Solution Explorer pane, expand the
StudentClub_WebRole
node, Open the
Web.Debug.conig
ile, and add the following lines in the system.web section (Figure
11.30):
<
system.web
>
<
customErrors mode
=
"Off"/
>
<
/system.web
>
16. In the Design window of Default.aspx, add a
Label
control and change the
Te x t
prop-
erty to
Club member contact info
(Figure 11.31).
17. Now, run the application, enter the information for the new member as shown in Figure
11.32 .
18. Click the
Submit
button. Figure 11.33 shows the web page where Mark joins the com-
puter club and the club members are listed so that Mark can e-mail other members to
start the communication.