Dofactory.com
Dofactory.com
 Back to list
Views:   5.9K
Replies:  2
Archived

How to check largest numbers in datagridview and assign grades to it

I want to assign grades to numbers in datagridview like this. 
Column1.    |   Column 2
200.             |   Grade A
390.             |.  Grade B
321.             |.   Grade C
228.             |.    Grade D
235.             |.    Grade E

This is how I want my program to look like but I've already generated column1 from. But I don't know how to check the largest number and attach the grades to it respectively. 
I don't know how to go about it so I have no codes so far
Richmond Boateng, Jan 23, 2016
Reply 1
Col you please explain us what does column 1 data implies and the code you tried to assign the grade to it.


Mukta Madankar, Jan 28, 2016
Reply 2
It is not possible to provide and answer because you have not specified how Grades are assigned. Are they sequential (only one B, C) or do you have ranges? Are the ranges dynamic or fixed width?  Etc. 

If you give us some more details you may get an answer. 


Jack Poorte, Jan 25, 2016
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.