944,045 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 850
  • ASP.NET RSS
Oct 29th, 2009
0

Retrieve field value from GridView to compute total

Expand Post »
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
Attached Thumbnails
Click image for larger version

Name:	23021882.png
Views:	29
Size:	6.1 KB
ID:	12364  
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dfs3000my is offline Offline
21 posts
since Dec 2008
Oct 29th, 2009
0
Re: Retrieve field value from GridView to compute total
Are the columns Total and grades created through template?
Reputation Points: 10
Solved Threads: 12
Posting Whiz in Training
carobee is offline Offline
209 posts
since Dec 2007
Oct 29th, 2009
0
Re: Retrieve field value from GridView to compute total
Click to Expand / Collapse  Quote originally posted by carobee ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dfs3000my is offline Offline
21 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Finding a specific character in a string
Next Thread in ASP.NET Forum Timeline: BoundFields with different DataSources





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC