medicenpringles
Programmer
I have a couple of different procedures that retrieve data from a single database. Both return a single value, either an Integer or DateTime. But the one that returns an integer accesses the data by connecting to the database and returning the data using .ExecuteScalar, while the other one builds a DataAdapter, a DataSet, and a DataTable, then references the DataTable to get the data.
my question is, is there any advantge to using DataSets over directly query-ing the database?
Main Language: Visual Basic .NET
Development Environment: Visual Studio .NET 2003
my question is, is there any advantge to using DataSets over directly query-ing the database?
Main Language: Visual Basic .NET
Development Environment: Visual Studio .NET 2003