JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Populating a Dataset

Datasets are disconnected from data sources, and to populate them with data, you must use a data adapter. As shown in the EasyAccess example discussed in the In Depth section of this chapter, you can use a data adapter's Fill method to fill a dataset:

DataSet11.Clear()
SqlDataAdapter1.Fill(DataSet11)
Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor