hi all,

i run a query and bind it to the aspdatagrid. For example 20 rows returned after the running. My aim is to add a row to the aspdatagrid after every five rows.

i want datagrid to view like this.

ID    Name Salary
1     xx       100
2     xx       200
3     xx       150
4     xx       250
5     xx       300
------------------------
avarage      200          // the adding row after the fifth row
------------------------
6     xx       100
7     xx       200
8     xx       150
9     xx       250
10     xx       300
------------------------
avarage      200          // the adding row after the fifth row
------------------------

Does datagrid have such a property like above?
Written things to the added row is not important. The above is just a sample as i want. it can be avarage, sum or something else. My first and important aim is to add a row after a condition and this condition isn't important. Anyway, How can i add a row into aspdatagrid?

Thanks...

           
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=943269585


Yahoo! Groups Links

Reply via email to