Click here to Skip to main content
15,914,608 members
Home / Discussions / C#
   

C#

 
AnswerRe: checkbox Pin
Christian Graus10-Nov-09 8:56
protectorChristian Graus10-Nov-09 8:56 
GeneralRe: checkbox Pin
EliottA11-Nov-09 8:48
EliottA11-Nov-09 8:48 
QuestionGraphics in C# versus Graphics in Java Pin
dbstudio10-Nov-09 3:41
dbstudio10-Nov-09 3:41 
AnswerRe: Graphics in C# versus Graphics in Java Pin
Christian Graus10-Nov-09 8:59
protectorChristian Graus10-Nov-09 8:59 
Questionclearing up oledb command Pin
Chazzysb10-Nov-09 2:54
Chazzysb10-Nov-09 2:54 
AnswerRe: clearing up oledb command Pin
PIEBALDconsult10-Nov-09 2:59
mvePIEBALDconsult10-Nov-09 2:59 
GeneralRe: clearing up oledb command Pin
Chazzysb10-Nov-09 3:01
Chazzysb10-Nov-09 3:01 
GeneralRe: clearing up oledb command Pin
PIEBALDconsult10-Nov-09 4:13
mvePIEBALDconsult10-Nov-09 4:13 
Neither actually. Big Grin | :-D

Anyway, others have given you the full answer.

I'll just add that I generally don't create and delete Connection and Command objects like that. I create one of each at the beginning of the program, use them repeatedly throughout the run (opening and closing the connection each time), and then only delete them at the end.

Plus I prefer connection.CreateCommand for instantiating Command objects. But that's just me.
AnswerRe: clearing up oledb command Pin
Covean10-Nov-09 3:22
Covean10-Nov-09 3:22 
GeneralRe: clearing up oledb command Pin
Md. Marufuzzaman10-Nov-09 5:44
professionalMd. Marufuzzaman10-Nov-09 5:44 
AnswerRe: clearing up oledb command Pin
Andrew Rissing10-Nov-09 3:27
Andrew Rissing10-Nov-09 3:27 
GeneralRe: clearing up oledb command Pin
Andrew Rissing10-Nov-09 3:31
Andrew Rissing10-Nov-09 3:31 
GeneralRe: clearing up oledb command Pin
Md. Marufuzzaman10-Nov-09 5:46
professionalMd. Marufuzzaman10-Nov-09 5:46 
GeneralRe: clearing up oledb command Pin
PIEBALDconsult10-Nov-09 5:53
mvePIEBALDconsult10-Nov-09 5:53 
GeneralRe: clearing up oledb command Pin
Md. Marufuzzaman10-Nov-09 6:34
professionalMd. Marufuzzaman10-Nov-09 6:34 
GeneralRe: clearing up oledb command Pin
Md. Marufuzzaman10-Nov-09 6:36
professionalMd. Marufuzzaman10-Nov-09 6:36 
GeneralRe: clearing up oledb command Pin
PIEBALDconsult10-Nov-09 9:31
mvePIEBALDconsult10-Nov-09 9:31 
GeneralRe: clearing up oledb command Pin
Covean10-Nov-09 22:12
Covean10-Nov-09 22:12 
QuestionNUnit execution from a share? Pin
Alaric_10-Nov-09 2:53
professionalAlaric_10-Nov-09 2:53 
QuestionHow to get the Left,Top and Height,Width of perticular region within an running application? Pin
ritz123410-Nov-09 2:50
ritz123410-Nov-09 2:50 
AnswerRe: How to get the Left,Top and Height,Width of perticular region within an running application? Pin
freakyit10-Nov-09 3:40
freakyit10-Nov-09 3:40 
GeneralRe: How to get the Left,Top and Height,Width of perticular region within an running application? Pin
ritz123410-Nov-09 17:43
ritz123410-Nov-09 17:43 
QuestionPIV Middleware Pin
shah zad10-Nov-09 2:36
shah zad10-Nov-09 2:36 
QuestionIcons Pin
Ersan Ercek10-Nov-09 2:13
Ersan Ercek10-Nov-09 2:13 
AnswerMessage Closed Pin
10-Nov-09 2:16
stancrm10-Nov-09 2:16 

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.