Datasheet
Displaying Data Using the Data Explorer
You've already seen how easy connecting to a database is using the Data Explorer. Creating pages
directly from this explorer is even easier – all you have to do is drag the table name and drop it onto a
page. This will automatically create a connection on the page and a fully functional data grid. Let's give
this a go.
Try It Out Creating a Grid
1.
Create a new ASP.NET page called Grid1.aspx.
2. From the Data Explorer, drag the Suppliers table onto your empty page as shown in
Figure 8-4:
Figure 8-4
3. Save the page and run it to see Figure 8-5:
256
Chapter 8
57076_Ch 8 SAN.qxd 01/12/2003 6:43 PM Page 256