本文介绍了在GridView中计算总数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须通过选择标准"和部门"来计算与数据库绑定的学生的总分数和科目的百分比.
我想要每个主题texbox的onkeyup或onchange事件的Java脚本函数,以便总计应显示在txtGrandTotal中,百分比shuold应显示在txtPercentage中.
为此,请给我发送Java脚本功能.
问候,
parshu(程序员)
[snip]
Hi,
I have to calculate total marks and percentage of subjects of a students which are binded from Database by selecting Standard and Division.
I want java script function for onkeyup or onchange event of each subject texbox, so that the grand total should be displayed in txtGrandTotal and percentage shuold be displayed txtPercentage.
Please send me Java Script funcion for this.
Regards,
parshu (Programmer)
[snip]
推荐答案
<br />
function totalMark()<br />
{<br />
var total=
这篇关于在GridView中计算总数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!