Click here to Skip to main content
15,917,618 members
Home / Discussions / C#
   

C#

 
QuestionCasting from a Base to Derived Class Pin
Jammer17-Aug-08 8:21
Jammer17-Aug-08 8:21 
AnswerRe: Casting from a Base to Derived Class Pin
Pete O'Hanlon17-Aug-08 8:34
mvePete O'Hanlon17-Aug-08 8:34 
AnswerRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 8:37
mentorWendelius17-Aug-08 8:37 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 9:25
Jammer17-Aug-08 9:25 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 9:30
Jammer17-Aug-08 9:30 
GeneralRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 9:52
mentorWendelius17-Aug-08 9:52 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 10:15
Jammer17-Aug-08 10:15 
GeneralRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 10:17
mentorWendelius17-Aug-08 10:17 
QuestionHow to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
rahul2117-Aug-08 6:00
rahul2117-Aug-08 6:00 
AnswerRe: How to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
Manas Bhardwaj17-Aug-08 6:40
professionalManas Bhardwaj17-Aug-08 6:40 
AnswerRe: How to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
N a v a n e e t h17-Aug-08 7:04
N a v a n e e t h17-Aug-08 7:04 
QuestionSendKeys and ^ Pin
Dominik Reichl17-Aug-08 2:16
Dominik Reichl17-Aug-08 2:16 
AnswerRe: SendKeys and ^ Pin
Wendelius17-Aug-08 3:04
mentorWendelius17-Aug-08 3:04 
QuestionRe: SendKeys and ^ Pin
Dominik Reichl17-Aug-08 3:59
Dominik Reichl17-Aug-08 3:59 
AnswerRe: SendKeys and ^ Pin
Wendelius17-Aug-08 4:31
mentorWendelius17-Aug-08 4:31 
QuestionImplementing IDisposable in Sealed class Pin
Blumen17-Aug-08 0:48
Blumen17-Aug-08 0:48 
AnswerRe: Implementing IDisposable in Sealed class Pin
Colin Angus Mackay17-Aug-08 0:59
Colin Angus Mackay17-Aug-08 0:59 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 1:30
Blumen17-Aug-08 1:30 
GeneralRe: Implementing IDisposable in Sealed class Pin
Colin Angus Mackay17-Aug-08 2:03
Colin Angus Mackay17-Aug-08 2:03 
GeneralRe: Implementing IDisposable in Sealed class [modified] Pin
Blumen17-Aug-08 2:59
Blumen17-Aug-08 2:59 
GeneralRe: Implementing IDisposable in Sealed class Pin
Colin Angus Mackay17-Aug-08 3:11
Colin Angus Mackay17-Aug-08 3:11 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 4:35
Blumen17-Aug-08 4:35 
GeneralRe: Implementing IDisposable in Sealed class Pin
N a v a n e e t h17-Aug-08 4:42
N a v a n e e t h17-Aug-08 4:42 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 4:50
Blumen17-Aug-08 4:50 
GeneralRe: Implementing IDisposable in Sealed class Pin
Pete O'Hanlon17-Aug-08 8:50
mvePete O'Hanlon17-Aug-08 8:50 
This is the whole problem with FxCop (and utility's like it). They give broad brush guidelines that people tend to end up as treating as gospel. This suggestion only makes sense if your SqlConnection/SqlCommand objects are member variables. If they are a local variable then there is no sense in using IDisposable to manage this.

Deja View - the feeling that you've seen this post before.

My blog | My articles



General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.