Hi,
I am using telerik rad gridview to display customers. My customer object have another class as a property.
So the object looks like:
Now I binding a list of customers to the grid and displaying Product Info too. But how do I do an aggregate function? Normally I would put Amount as the source field for the function.
I am using telerik rad gridview to display customers. My customer object have another class as a property.
So the object looks like:
public
class
Product
{
public
int
ProductID {
get
;
set
;}
public
decimal
Amount {
get
;
set
;}
public
string
ProductName {
get
;
set
;}
}
public
class
Customer
{
public
int
CustomerID {
get
;
set
;}
public
Product CurrentProduct {
get
;
set
;}
public
string
FirstName {
get
;
set
;}
public
string
LastName {
get
;
set
;}
}
Now I binding a list of customers to the grid and displaying Product Info too. But how do I do an aggregate function? Normally I would put Amount as the source field for the function.