Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Error while using data reader..
Rajavel G
8y
227
1
Reply
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
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
how implement a polymorphism in window applicaiton vb progra
What is the difference between JSONResult and ActionResult?