On the right you find the list of snippets published on this Web site in the category ADO conveniently split up in pages.
If you can't find what you're looking for, try another category from the sub menu
|9/19/2006 10:29 PM|
In .NET 1.x filling a DataSet or a DataTable meant quite some work. You needed to create a Connection object, a DataAdapter and optionally a Command object. Then you had to call the Fill method on the DataAdapter and pass it a newly created DataSet or DataTable.
In .NET 2.0, this code model has been simplified, thanks to the Load method on the DataTable and DataSet classes that takes an IDataReader as a parameter.