我写了一个统计的存储过程 如下:
CREATE PROCEDURE usp_Statistic_HseScoreStat (@startTime DateTime ,@endTime DateTime)as select count(distinct hse_import.batchId) as scoreCount,  
sum (case when ScoreType='管理岗' and Score='合格' then 1 else 0 end)  as manageSuccess,
sum (case when ScoreType='管理岗' and Score='不合格' then 1 else 0 end) as manageFail,
sum (case when ScoreType='操作岗' and Score='合格' then 1 else 0 end)as operateSuccess ,sum (case when ScoreType='操作岗' and Score='不合格' then 1 else 0 end) as operateFail 
from hse_import,hse_score where 
hse_import.batchId=hse_score.batchId and hse_import.createdTime between @startTime and @endTime 
 
怎么绑定到Gridview 一般的绑定字段<asp:BoundField HeaderText="总数" DataField ="id" />
但是我这个怎么弄啊
 在线等