1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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

Discussion in 'ASP' started by jakeriggs, Apr 30, 2008.

  1. jakeriggs

    jakeriggs New Member


    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....
  2. jwshepherd

    jwshepherd New Member

  3. dotnetexpert

    dotnetexpert New Member

    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.

Share This Page