Datagrid Footer with Avg?

Results 1 to 2 of 2

Thread: Datagrid Footer with Avg?

  1. #1
    Join Date
    Dec 1969

    Default Datagrid Footer with Avg?

    I need to include an "average" value in the footer of my datagrid (avg of a column of ints).<BR><BR>The datagrid is populated with database data (SQL), and the footer is currently empty.<BR><BR>I couldn&#039;t find anything in the FAQ on this, and everything I find on-line gives examples of more complicated footer uses. I&#039;m just looking for the basics.<BR><BR>Could someone here point me in the right direction?<BR><BR>Thanks!

  2. #2
    Join Date
    Dec 1969

    Default ItemDataBound

    Use ItemDataBound to count the number of rows and add the integers - then divide one by the other to get the average

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts