J
Jonathan Woods
Hi there,
How do i handle grouping same level of data at run time? or any idea?
user can view data according to their selection group on the windows
form.
for example: In customer table, (Group by City) or (Group by Country)
-----------
The following code does not compile...
FieldDefinition myFieldDef = new FieldDefinition();
myFieldDef = rs.Database.Tables["tblCust"].Fields[groupby];
rs.DataDefinition.Groups[2].ConditionField = myFieldDef;
But It doesn't work due to FieldDefination Class at protection level.
Any Idea?
Thanks in advance.
How do i handle grouping same level of data at run time? or any idea?
user can view data according to their selection group on the windows
form.
for example: In customer table, (Group by City) or (Group by Country)
-----------
The following code does not compile...
FieldDefinition myFieldDef = new FieldDefinition();
myFieldDef = rs.Database.Tables["tblCust"].Fields[groupby];
rs.DataDefinition.Groups[2].ConditionField = myFieldDef;
But It doesn't work due to FieldDefination Class at protection level.
Any Idea?
Thanks in advance.