-
c# = overkill ??
I am having some confusion with datasets.
when I used vb6 I would retrieve the info from the database then populate the properties of a class with it
then let the client use that
But with datasets is there any point in using the propeties??
Can't you just pass the dataset straight back??
-
You can pass it through methods if you want. If all your after is setting properties in a object from it, then maybe it isn't needed. You could just use a datareader to get the results from the db and populate the object properties from it.