Click here to Skip to main content
15,914,327 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: row_command event not fire Pin
Jintal Patel20-Sep-07 1:45
Jintal Patel20-Sep-07 1:45 
GeneralRe: row_command event not fire Pin
kirtiarora20-Sep-07 1:52
kirtiarora20-Sep-07 1:52 
GeneralRe: row_command event not fire [modified] Pin
sugunavathy15-Feb-08 19:22
sugunavathy15-Feb-08 19:22 
QuestionHow to Read Email from Mailbox using ASP.NET? Pin
Arora_Shweta20-Sep-07 1:07
Arora_Shweta20-Sep-07 1:07 
AnswerRe: How to Read Email from Mailbox using ASP.NET? Pin
Sathesh Sakthivel20-Sep-07 1:13
Sathesh Sakthivel20-Sep-07 1:13 
AnswerRe: How to Read Email from Mailbox using ASP.NET? Pin
Malcolm Smart20-Sep-07 1:26
Malcolm Smart20-Sep-07 1:26 
QuestionA few Dataset question. Pin
Saksida Bojan20-Sep-07 1:01
Saksida Bojan20-Sep-07 1:01 
AnswerRe: A few Dataset question. Pin
Sathesh Sakthivel20-Sep-07 1:10
Sathesh Sakthivel20-Sep-07 1:10 
Saksida Bojan wrote:
What is a advantage and Disadvantage of Dataset and DataReader?


"As with many developer decisions, there is no clear-cut choice between using a DataSet or a DataReader."

Hmmm....in my own thinking, it seems clear that DataSets+DataAdapters are a better choice for smaller projects where:
* The development time can be considerably shortened by avoiding creating business object classes and using the nice relaitonal/table-like features of the DataSet
* The underlying tables are very simple, which again ties in with the RAD aspect of DataSets since you can rely on auto-generated Update-, Delete-, and InsertCommands.

On the other hand, when working on larger object oriented systems, a DataReader will generally always perform better than a DataSet. Using try-catch-finally/using (C# only) (like a any good developer), you can always ensure that if there is an error, you close the underlying connection. You also get more flexibility in how your object relationships are represented, but at the cost of having to build those relationships manually.

So it seems pretty clear-cut to me. DataSets are great for RAD and if your application deals with the underlying data in a table-like manner (typed-DataSets abstracts this somewhat into a more object oriented manner). If you want the best performance and most flexibility, DataReaders+custom business objects are the way to go.


SSK.

GeneralRe: A few Dataset question. Pin
Saksida Bojan20-Sep-07 1:57
Saksida Bojan20-Sep-07 1:57 
QuestionAdding values to resource files (resx) Pin
Krugger40420-Sep-07 0:33
Krugger40420-Sep-07 0:33 
Questionhow to implement blog and forum in asp.net with vb.net Pin
rahul.net1120-Sep-07 0:03
rahul.net1120-Sep-07 0:03 
AnswerRe: how to implement blog and forum in asp.net with vb.net Pin
Colin Angus Mackay20-Sep-07 0:16
Colin Angus Mackay20-Sep-07 0:16 
GeneralRe: how to implement blog and forum in asp.net with vb.net Pin
rahul.net1120-Sep-07 0:36
rahul.net1120-Sep-07 0:36 
GeneralRe: how to implement blog and forum in asp.net with vb.net Pin
Pete O'Hanlon20-Sep-07 1:01
mvePete O'Hanlon20-Sep-07 1:01 
GeneralRe: how to implement blog and forum in asp.net with vb.net [modified] Pin
rahul.net1120-Sep-07 2:46
rahul.net1120-Sep-07 2:46 
GeneralRe: how to implement blog and forum in asp.net with vb.net Pin
Colin Angus Mackay20-Sep-07 7:11
Colin Angus Mackay20-Sep-07 7:11 
AnswerRe: how to implement blog and forum in asp.net with vb.net Pin
Sathesh Sakthivel20-Sep-07 1:15
Sathesh Sakthivel20-Sep-07 1:15 
QuestionTreeView Inside GridView Control Pin
varshavmane20-Sep-07 0:01
varshavmane20-Sep-07 0:01 
AnswerRe: TreeView Inside GridView Control Pin
Imran Khan Pathan20-Sep-07 1:32
Imran Khan Pathan20-Sep-07 1:32 
GeneralRe: TreeView Inside GridView Control Pin
varshavmane20-Sep-07 1:35
varshavmane20-Sep-07 1:35 
GeneralRe: TreeView Inside GridView Control Pin
Member 164611026-Apr-11 13:59
Member 164611026-Apr-11 13:59 
GeneralRe: TreeView Inside GridView Control Pin
varshavmane28-Apr-11 8:58
varshavmane28-Apr-11 8:58 
Questiondynamic values in the string Pin
ybasha19-Sep-07 23:35
ybasha19-Sep-07 23:35 
AnswerRe: dynamic values in the string Pin
Sandeep Akhare19-Sep-07 23:39
Sandeep Akhare19-Sep-07 23:39 
GeneralRe: dynamic values in the string Pin
ybasha20-Sep-07 16:50
ybasha20-Sep-07 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.