A
andytidy
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.
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.