Hello everyone!

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?

(2) How do I do a "data binding" for a DropDownList using a 
BdpConnection and a BdpCommand? I've managed to manually populate the 
DropDownList in a while-do loop (so I think I wired up most things 
properly) but if I set up the DataSource and DataTextField values in 
what's supposed to be the right way I get a message like:

DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a 
property with the name 'ID_TEST'

Why is it looking for a "property" when in should be looking for an "field"?

Thanks,
Cosmin Prund
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to