Dim dr As DataRow = e.DataRow
Dim dt As DataTable =DataTables("折算表")
dr("业务种类_CMNET") = dt.Compute("Count(客户名称)", "业务种类 = ' 互联网专线 '")
dr("业务种类_广域网") = dt.Compute("Count(客户名称)", "业务种类 = ' 广域网专线 '")
dr("业务种类_IMS") = dt.Compute("Count(客户名称)", "业务种类 = ' 语音专线(IMS) '")
dr("业务种类_视频监控") = dt.Compute("Count(客户名称)", "业务种类 = ' 视频监控接入专线 '")
dr("业务种类_2M") = dt.Compute("Count(客户名称)", "业务种类 = ' 语音专线(传统2M)'")
dr("业务种类_GPRS") = dt.Compute("Count(客户名称)", "业务种类 = ' GPRS专线 '")
使用上面的代码统计折算表项,统计出来却都是0.错在哪呃?

此主题相关图片如下:统计表.jpg
[此贴子已经被作者于2013-2-4 22:44:19编辑过]