Click here to Skip to main content
15,910,981 members

Comments by Stu Baby (Top 30 by date)

Stu Baby 24-Jan-14 21:15pm View    
OK, I did all of what was suggested and Redsharper advised that all of the catch and throw was redundant code that could never be reached, and nothing happened when I ran it either.
Stu Baby 24-Jan-14 21:04pm View    
Leaves the method
Stu Baby 24-Jan-14 21:04pm View    
I haven't NOT set it up to break on Exception Throws, as I don't know where to go to set this either way. But the code continues to run happily, with the 'exception' being the combo box that this populates remaining empty. Though the Sql is sound as running that returns about 6 values. Also, I get PLENTY :) of other exceptions so I assume I haven't done what you are suggesting
Stu Baby 24-Jan-14 20:56pm View    
So a try catch around: var reader = getBrand.ExecuteReader?
Stu Baby 24-Jan-14 20:52pm View    
There is no exception. I'm stepping through the code, it hits the line var reader = etc, and the code exits without returning anything