columns total

Results 1 to 2 of 2

Thread: columns total

  1. #1
    Join Date
    Dec 1969

    Default columns total

    is there an article on 4guys that deals with adding column values and putting the total in the footer? or know of any article elsewhere

  2. #2

    Default RE: columns total

    A simple approach is to create a property and use the DataGrid_ItemDatabound.<BR><BR>In the handler you can access the e.DataItem (it&#039;s a DataRow if you use a DataSet as your DataSource) and add the field value to your running total.<BR><BR>In the footer you should be able to get the value out with <BR><BR>&#060;%#propertyName%&#062;<BR><BR>

Posting Permissions

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