Good day, everyone!
I would like to ask for any advice or suggestion..
I got this error: object cannot be cast from DBNull to other types, but the field that it access or referred to does not have null value. How can it be?
Here is the piece of code:
int pregnant = Convert.ToInt32((dtRw)["pregnant"]);
Thank you so much.