The column in the zero position is returning a DBNull value. This main that the column hasn't a value.
You must to check if the returned value is not DBNull (previouslly, you must to check that the dataset, table collections and rows collections are not empty or nothing.
If AdaraDataSet IsNot Nothing Then
If AdaraDataSet.Tables IsNot Nothing Then
...... check the rows collection
If Not DbNull.Value.Equals(AdaraDataTable.Rows(0)(0)) Then
'Assign the value
mylevel = Convert.ToInt32(AdaraDataTable.Rows(0)(0))
..... more code here
Check the Convert class and tje DBNull.Value evaluation.
Regards