i have designed employee data using nested employee data.i have 2 table emp , dept .table information emp-empid(pk),empname,empjob,empsalary,deptid dept-deptid(fk),deptname i have shown data in department wise.parent repeater shows department table , child repeater shows emp details.and want count total number of employee department wise total salary.like wise in last want count grand total employee , grand total salary.but problem i'm facing in counting no of employee , salary department wise.here aspx.cs page .. if not getting me what's problem .. see output i've attached 1 screenshot using system; using system.collections.generic; using system.linq; using system.web; using system.web.ui; using system.web.ui.webcontrols; using system.data; using system.data.sqlclient; using system.configuration; public partial class repeatercontrolnested : system.web.ui.page { sqlconnection cn = null; sqlcommand cmd = null; sqldataadapter da = null; dataset ds =...