2
Answers

ExecuteReader() not working for sqldatareader!

Photo of Cns Swamy

Cns Swamy

10y
964
1
I used break point to view the control flow. Control jumps directly to the catch block after the line--
 
 
using (SqlDataReader reader = cmd.ExecuteReader()) 
 

Answers (2)