Rob Kennedy wrote:
> Cosmin Prund wrote:
>
>> I'm just getting started using ASP.NET and I'm doing it using Delphi
>> 2006. I've got a few questions.
>>
>> (1) It seems there's no equivalent of a DataModule. I'm sure I read
>> something about this but now I'm thinking: what do I use in place? Do I
>> really need to place every single DB connecting component on every
>> single page?
>>
>
> A data module is nothing more than a place to drop components at design
> time, isn't it? It doesn't really *do* anything of its own, right?
>
> So just define a class, have it create the components you need, and
> create that class when you need those components.
Thanks, that's what I've done but there's a slight problem with the
model. Since that class is not available at design time (as I'm used to
with Win32) I can't do any design time data binding. That's a minor
glitch those, since I don't really use that kind of wiring and it's
probably for the better.
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk