954,560 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Retrieve field value from GridView to compute total

Hi, attached in the attachment below has a screenshot of what I am trying to accomplish... I have hurdle marks for individual students and i am trying to compute the total of those marks.

How can I access those values, compute the total, and store them back in the "Total Marks" column and as well as computing the "Grades" depending on what mark they obtain.

Example: 80 - 100 : HD
70 - 78 : DI
0 - 69 : Fail

Attachments 23021882.png 6.06KB
dfs3000my
Newbie Poster
21 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

Are the columns Total and grades created through template?

carobee
Posting Whiz in Training
209 posts since Dec 2007
Reputation Points: 10
Solved Threads: 12
 
Are the columns Total and grades created through template?

They are created as bound fields in the code-behind code which has no data field. that's why they are currently blank.

dfs3000my
Newbie Poster
21 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You