Just adding this as the solution for future visitors:
I'm gonna guess the
GetString()
method is throwing the exception. Take a look at the
documentation for this method on MSDN. The data you are reading must already be a
string
. The datatype of the column at index "0" in your case is likely of the
int
datatype.