home / software / tips and tricks / Add a subtotal Row in a asp dot net Repeater control?

Add a subtotal Row in a asp dot net Repeater control?

Updated:  03/01/2011 16:03 PM
Author:  Shiju Mathews

Status:    Resolved.


Create a data table and crete a stored procedure that will pull data order by DepartmentId.

Create a sub total Row in a asp dot net Repeater

On a Repeater control we are trying to create sub total by 'DepartmentId'.



Create an asp Repeater control named 'rptEmployelist'.



  • _InsertData is a string variable that hold the Value for the Sub Total Row. Now add the following section on the code Behind.


  • Please copy the code and reformat it.
  • Tags: Add a subtotal Row in a asp dot net Repeater control?
    Updated on: October 2024