Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Access Strategy with ASP.NET

Status
Not open for further replies.

imterpsfan3

Programmer
Jul 22, 2005
160
US
I have been using mostly datareader with command objects to load data on webforms from a dataset. I then update, delete or insert using a command object with stored procedure.

I recently went on an interview for an ASP.NET position and they were looking for someone to convert existing ASP to ASP.NET. They seemed to think my strategy was wrong and that one should use mostly cached datasets. Needless to say I didn't get the job, but that is neither here nor there.

I would like an opinion from other people as to how they view this subject. I have read benchmark tests done by Microsoft and it showed quite a difference in performance in using datareaders as opposed to datasets. And that there was a problem sometimes synchronizing data in the backend database if you are using cached datasets.

I know there is a time and a place for cached datasets.
 
I made a mistake in the first post. I said "I have been using mostly datareader with command objects to load data on webforms from a dataset"...I meant to say from a datareader based off of a command object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top