Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: the one who know vb.net and cSharp Pin
mav.northwind12-May-05 23:37
mav.northwind12-May-05 23:37 
GeneralRe: the one who know vb.net and cSharp Pin
Rizwan Bashir13-May-05 2:22
Rizwan Bashir13-May-05 2:22 
Generalopen .exe file Pin
eng.mohamed11-May-05 22:40
eng.mohamed11-May-05 22:40 
GeneralRe: open .exe file Pin
Polis Pilavas12-May-05 0:15
Polis Pilavas12-May-05 0:15 
GeneralNew to remote procedure calls, please help... Pin
AfzalHassen11-May-05 22:16
AfzalHassen11-May-05 22:16 
GeneralOOP concept - C# Pin
Anonymous11-May-05 21:34
Anonymous11-May-05 21:34 
GeneralRe: OOP concept - C# Pin
Peter Vertes12-May-05 12:15
Peter Vertes12-May-05 12:15 
GeneralRe: OOP concept - C# Pin
Anonymous12-May-05 23:18
Anonymous12-May-05 23:18 
Excellent Article indeed! Appreciate the suggestion.

So data reader is the way to go unless it is absolutely necessary to use a dataset. On a tangent, this is also true for reading xml using the pull model in the framework with XML reader instead of loading the XMLDocument in memory.

I had also hoped that someone would put this scenario into multi-tier model for me, as I am still confused as where the separation is. For example, my aspx page will have the code-behind page - is this where I would type in my queries and interact woth my data-reader/dataset and process them or would I use pre-written classes(containing the logic for quering the data) and pre-defind methods like "get-product-by-id" etc., which I would instantiate in the code-behind page and pass the parameters to be processed withing those objects and return the results? Guess I am after "best-practices" here in designing a web-application that is scalable and reusable.

Furthermore, everyone of those objects (like dataset/datreader/adapter) are objects already, so is wrapping them necessary?

If someone can put this in perspective or suggest an article, I would appreciate it. Googling brought in results that are either too simplistic or too thoretical.Sniff | :^)

And Thanks Peter for taking the time to explain.Smile | :)







QuestionHow to get streaming details from Flash Communication Server using C# Pin
vinu.netguy11-May-05 20:14
vinu.netguy11-May-05 20:14 
QuestionHow to make it happen Windows Control's Event in Code Pin
ye win zaw11-May-05 19:34
ye win zaw11-May-05 19:34 
AnswerRe: How to make it happen Windows Control's Event in Code Pin
Indagro12-May-05 0:02
Indagro12-May-05 0:02 
GeneralRe: How to make it happen Windows Control's Event in Code Pin
ye win zaw12-May-05 0:13
ye win zaw12-May-05 0:13 
GeneralWin form user controls Pin
skrishnasarma11-May-05 19:11
skrishnasarma11-May-05 19:11 
GeneralRe: Win form user controls Pin
Christian Graus11-May-05 19:31
protectorChristian Graus11-May-05 19:31 
GeneralDisplay datetime in C# Pin
hvan220311-May-05 17:58
hvan220311-May-05 17:58 
GeneralRe: Display datetime in C# Pin
Kodanda Pani11-May-05 18:46
Kodanda Pani11-May-05 18:46 
GeneralRe: Display datetime in C# Pin
Christian Graus11-May-05 18:55
protectorChristian Graus11-May-05 18:55 
GeneralRe: Display datetime in C# Pin
hvan220311-May-05 23:26
hvan220311-May-05 23:26 
GeneralRe: Display datetime in C# Pin
leppie12-May-05 2:10
leppie12-May-05 2:10 
GeneralRe: Display datetime in C# Pin
Christian Graus15-May-05 18:15
protectorChristian Graus15-May-05 18:15 
QuestionServer send msgs to client behind firewall? Pin
eyoung7011-May-05 17:12
eyoung7011-May-05 17:12 
AnswerRe: Server send msgs to client behind firewall? Pin
Sebastian Schneider13-May-05 0:24
Sebastian Schneider13-May-05 0:24 
GeneralNetwork problem Pin
felopater11-May-05 15:38
felopater11-May-05 15:38 
GeneralCanceling validation Pin
hhrafn11-May-05 13:33
hhrafn11-May-05 13:33 
GeneralRe: Canceling validation Pin
Kodanda Pani11-May-05 18:35
Kodanda Pani11-May-05 18:35 

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.