I am trying to just get the value of a column in a DB that stores an int. The value is not null. I have tried both using a column name and index number and with both I get a SQLException error. This is the code:
The line I am getting the error on is:
Anyone have an idea as to why this would be happening? All help would be appreciated.