Retrieve data from data source
Sir I am creating a website. I am in confusion that I should use ado.net classes to retrieve data from SQL server database or I should use asp.net control to retrieve data from data source?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 4, 2011, 9:31 PM EDT
Both are approach to show the data from database.
If you want to do basic operations like insert, update, delete etc then use asp.net controls as its just a wizard kinda thing with no backend C# code.
but if you have something to do with the data when coming and saving to database. like to do some business operations then you can use ado.net classes fetch the data, manipulate the data, show the data at UI and update as per your requirement and then save back to database.
Its up to your usability.
Thanks.
Eddie JackRank #2,520 · 556 reputationPosted Jul 4, 2011, 9:51 PM EDT