I used break point to view the control flow. Control jumps directly to the catch block after the line--
using (SqlDataReader reader = cmd.ExecuteReader())
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 28, 2015, 1:21 AM EDT
Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 28, 2015, 2:12 AM EDT