college_amy
Regular
- Joined
- Jan 3, 2004
- Messages
- 83
Background:
I have a datagrid that displays information from a stored procedure.
Problem:
In this datagrid there are numerous instances of the same "main" title (see example)
Example Datagrid:
Field1 field 2 field 3
Data1 Data2 Unique Data
Data1 Data2 Different Data
Data1 Data2 More Unique Data
So basically.. Field1 and Field2 have different data from themselves, but the data throughout the field is the same. What I want to do is have only the FIRST row of data where Data1 and Data2 are the same (but unique to each other) display and all the other rows beneath them where Data1 and Data2 are the same be blank.
How do I do that?
(Here is an example of the output desired)
Example Datagrid:
Field1 field 2 field 3
Data1 Data2 Unique Data
Different Data
More Unique Data
Data3 Data4 UniqueData
Different Data
MoreUniqueData
Data5 Data6 etc. etc.....
I have a datagrid that displays information from a stored procedure.
Problem:
In this datagrid there are numerous instances of the same "main" title (see example)
Example Datagrid:
Field1 field 2 field 3
Data1 Data2 Unique Data
Data1 Data2 Different Data
Data1 Data2 More Unique Data
So basically.. Field1 and Field2 have different data from themselves, but the data throughout the field is the same. What I want to do is have only the FIRST row of data where Data1 and Data2 are the same (but unique to each other) display and all the other rows beneath them where Data1 and Data2 are the same be blank.
How do I do that?
(Here is an example of the output desired)
Example Datagrid:
Field1 field 2 field 3
Data1 Data2 Unique Data
Different Data
More Unique Data
Data3 Data4 UniqueData
Different Data
MoreUniqueData
Data5 Data6 etc. etc.....