On Jan 25, 1:00*am, Angel <rodoo...@hotmail.com> wrote:
> I have a piece of demo code that might give some ideas give me an email
> address and I will be glad to send it to *you
> --
> aaa
>
>
>
> "andyt...@gmail.com" wrote:
> > After going through some newbie examples I've created a DAL and BLL
> > for my project. So far I simply display the DataTable to a GridView.
> > I can create custom columns that do simple functions, for example:
>
> > ReturnVal = UnitPrice - Discount
>
> > What I would like to do is have a little more flaxability without
> > creating stored procedures, such as:
>
> > if Customer.Sales > 100 then
> > * * ReturnVal = UnitPrice - Discount
> > else
> > * * ReturnVal = UnitPrice
>
> > I have tried, and failed, to base the GridView on the BLL rather than
> > the DataTable in the DAL. I don't quite think I've got on top of
> > Partial classes yet, when I try to add the new function I can't get it
> > displayed in the GridView.- Hide quoted text -
>
> - Show quoted text -
I guess what I'm looking for is a nice robust BLL. The MS examples go
a long way but I need to see what happens when I customize or extend
the DAL tables. It would seem that if I do extend the DAL tables in my
BLL I can't use the groovy wizards and tools for quick building of
controls.
The 3-tier method is better in this version, I just can't use all the
features of the new whiz bang controls.
So I will go the long way round and populate the lists, do the paging
and the details pages myself, the good ol' write code method.
Thanks for your help.
|