如何使用vb.net添加Gridview单元格? [英] How to add the Gridview cells using vb.net?
本文介绍了如何使用vb.net添加Gridview单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Gridview有以下字段:
ID产品价格($)
1铅笔1
2 Pen 1
3 Rubber 2
我想计算Gridview中价格字段的总价格Footer ... ie ..
总价= 4
如何使用VB.NET做到这一点?
解决方案
请看这篇msdn文章 GridView ASP.NET 2.0示例:在页脚中显示摘要数据
My Gridview has following Fields
ID Product Price ($)
1 Pencil 1
2 Pen 1
3 Rubber 2
I want to calculate the total price of price fields in Gridview Footer ...ie..
Total Price = 4
How to do it using VB.NET ?
解决方案
Look at this msdn article GridView Examples for ASP.NET 2.0: Displaying Summary Data in the Footer
这篇关于如何使用vb.net添加Gridview单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文