1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. jakeriggs

    jakeriggs New Member

    Joined:
    Apr 23, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    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....
     
  2. jwshepherd

    jwshepherd New Member

    Joined:
    Aug 13, 2007
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    VP Technology Corporation
    Location:
    Texas
    Home Page:
  3. dotnetexpert

    dotnetexpert New Member

    Joined:
    May 16, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    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