Retrieve field value from GridView to compute total

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 19
Reputation: dfs3000my is an unknown quantity at this point 
Solved Threads: 0
dfs3000my dfs3000my is offline Offline
Newbie Poster

Retrieve field value from GridView to compute total

 
0
  #1
Oct 29th, 2009
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
23021882.png  
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 205
Reputation: carobee is an unknown quantity at this point 
Solved Threads: 11
carobee carobee is offline Offline
Posting Whiz in Training
 
0
  #2
Oct 29th, 2009
Are the columns Total and grades created through template?
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 19
Reputation: dfs3000my is an unknown quantity at this point 
Solved Threads: 0
dfs3000my dfs3000my is offline Offline
Newbie Poster
 
0
  #3
Oct 29th, 2009
Originally Posted by carobee View Post
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.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC