If you're using Dreamweaver to build ASP.NET-driven Web sites, you've
undoubtedly encountered DataSets. The DataSet tag, one of Macromedia's custom
tags, interacts with a database via SQL statements like SELECT, INSERT,
UPDATE, DELETE. You can also use it to execute stored procedures. The DataSet
is to ASP.NET what the recordset is to ASP. Except that it's better, of
course.
The most obvious application of the DataSet tag is to select data from a
table in your database. The resulting dataset can be displayed in a variety
of ways: in a DataGrid, DropdownList, or pretty much wherever you want in
your page.
Another handy, though less obvious, function of the DataSet tag is to change
data in a table (e.g., insert, update, or delete). In this case, the DataSet
tag doesn't ... (more)