Rajavel G

Rajavel G

  • NA
  • 95
  • 44.6k

Error while using data reader..

Nov 19 2016 1:55 AM
there is already an open datareader associated with this command-error
fn1: 
SQL = "query"
reader = cmd.ExecuteReader()
If reader.Read() Then
' operation
reader.close()
end if
reader.close
 
fn:2 
 
SQL = "query"
reader = cmd.ExecuteReader()
If reader.Read() Then
' operation
reader.close()
end if
reader.close
 

Answers (6)