Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Retrieve data using datareader/dataset..another way...??? (http://www.go4expert.com/forums/retrieve-data-using-datareader-t10312/)

jakeriggs 30Apr2008 22:18

Retrieve data using datareader/dataset..another way...???
 
Hi.....

I am using MsSQL server as my back end database and I want to retrieve data and place it to listview....
my question is, should users use DataReader or DataSet to retrieve data??? or there is another way...???

thanks for reply....

jwshepherd 5May2008 18:58

Re: Retrieve data using datareader/dataset..another way...???
 
This article should help a bit. http://aspnet.4guysfromrolla.com/articles/010208-1.aspx

dotnetexpert 16May2008 16:53

Re: Retrieve data using datareader/dataset..another way...???
 
using the datareader is much more efficient than dataset.

but you can use datareader only when you don't need any updation in the data after retiving the data from Db.

using the dataset would be preferable when you need to perform add,edit operations on data.


All times are GMT +5.5. The time now is 06:42.