dimanche 22 novembre 2015

VB .net: How to put a value on a checkbox (databese: MS Access)

I just need a little help for my homework. I did my best think about the logic but it's too late. So basically, this is what I need to do :

If I'll check the checkbox 1 it will automatically input "100" on the second column of my datagridview and also if I'll check checkbox 2 it will also input "50" on my 3rd column.



[ ] Fee1 (checkbox1) = $100
[ ] Fee2 (checkbox2) = $50


The output should look like this:

StudentFeeTableGridView

Name| Fee 1|  Fee 2
Jack  |    0    |  50
   Jill   |  100  |  0
John  |  100  |  0
Jose  |    0    |  50


Thank you so much guys for helping! I owe you.




Aucun commentaire:

Enregistrer un commentaire