WebBuilder451
Tue Aug 02 15:41:06 CDT 2005
Thank you,
this is a big help. your answer seems to follow with what i thought.
IOU1
kes
"Cor Ligthert [MVP]" wrote:
> WebBuilder,
>
> In this are differences for Web and WindowsForms.
>
> > Thanks for responding. This discussion has been VERY helpful.
> > This does raise another issue i had some concerns about.
> > I would like to use quick datareaders for filling dropdowns.
>
> For the web I don't see any advance using a dataset above a datareader for a
> drop down.
> For controls as a datagrids, that has to be updated I prefer the datatable
> (as it is a part of a dataset) above a datareader.
>
> Be aware that a dataset does not hold datarows, that does the datatable
> which is holded by the dataset.
>
> > 1. should they all be in seprate components (assemblies(?)) or in a
> > single?
>
> Everything on a webpage goes directly out of scope. The applications belongs
> to all active clients and is active until there are no more client for that
> application are active.
>
> I think that this should be the major point of your decissions in what you
> do.
>
> Don't think in functions however in classes that you can instance. I would
> not create one class with everything in it, however more classes. Have a
> look at the architecture of the namespace system.data (AdoNet), maybe is
> that a fine sample, and you learn in the same time more from ADONET.
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdata.asp
>
> I hope this helps
>
> Cor
>
>
>