Question subtracting...

erica28

New member
Joined
Feb 9, 2017
Messages
3
Programming Experience
Beginner
hi i would like to ask if someone can help me for this? did i write the code write? what did i do wrong? it's not appearing to textbox txtAge..

i wanted to subtract the datetimepicker to my current date.. then put the age of the patient int the txtAge...

asd.JPG


thank you for help
 
Have you confirmed that that code is being executed? I would suggest that it is not. Maybe an exception is being thrown somewhere beforehand. I would suggest placing a breakpoint on that line.
 
Have you confirmed that that code is being executed? I would suggest that it is not. Maybe an exception is being thrown somewhere beforehand. I would suggest placing a breakpoint on that line.

fixed it.. but i have an new problem..

is my code correct ? because when i run the program, the database info is not appearing in my listView... but the column is added..

asd.JPG

17142457_1857320767840080_2141182473_o.png

thank you guys for helping ..
 
Back
Top Bottom