I am executing a query on sqlreader object i.e.
rdr = cmd.executereader();
now I get a value rdr = 100; but this value is in reader object.
I want to transfer that value rdr to integer variable how can I do that?
I tried int.parse, int.tryparse, convert.int32..etc
it says string not in correct format.
please reply asap