Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
Questiondiff between int and Convrt.Int32 Pin
dvsr19-Jan-06 12:08
dvsr19-Jan-06 12:08 
AnswerRe: diff between int and Convrt.Int32 Pin
Guffa19-Jan-06 12:31
Guffa19-Jan-06 12:31 
GeneralRe: diff between int and Convrt.Int32 Pin
dvsr19-Jan-06 12:35
dvsr19-Jan-06 12:35 
AnswerRe: diff between int and Convrt.Int32 Pin
Guffa19-Jan-06 12:52
Guffa19-Jan-06 12:52 
QuestionValueMember of comboBox problem Pin
moonangel_bio19-Jan-06 11:50
moonangel_bio19-Jan-06 11:50 
AnswerRe: ValueMember of comboBox problem Pin
Christian Graus19-Jan-06 15:40
protectorChristian Graus19-Jan-06 15:40 
GeneralRe: ValueMember of comboBox problem Pin
moonangel_bio20-Jan-06 4:51
moonangel_bio20-Jan-06 4:51 
GeneralRe: ValueMember of comboBox problem Pin
Christian Graus22-Jan-06 11:09
protectorChristian Graus22-Jan-06 11:09 
QuestionCompiling and using C Code in .Net C# Pin
gulmisal19-Jan-06 11:17
gulmisal19-Jan-06 11:17 
AnswerRe: Compiling and using C Code in .Net C# Pin
Nick Parker19-Jan-06 11:45
protectorNick Parker19-Jan-06 11:45 
AnswerRe: Compiling and using C Code in .Net C# Pin
Christian Graus19-Jan-06 12:05
protectorChristian Graus19-Jan-06 12:05 
Question[Message Deleted] Pin
DarrenFerne19-Jan-06 9:36
DarrenFerne19-Jan-06 9:36 
AnswerRe: How do I get a control to draw outside its client area Pin
Guffa19-Jan-06 13:13
Guffa19-Jan-06 13:13 
QuestionRTF header. Pin
Agyeman19-Jan-06 8:51
Agyeman19-Jan-06 8:51 
QuestionRCW message, Thread pool Pin
2hdass19-Jan-06 8:36
2hdass19-Jan-06 8:36 
AnswerRe: RCW message, Thread pool Pin
Dave Kreskowiak19-Jan-06 13:33
mveDave Kreskowiak19-Jan-06 13:33 
GeneralRe: RCW message, Thread pool Pin
Monika Dayal6-Feb-20 0:28
Monika Dayal6-Feb-20 0:28 
GeneralRe: RCW message, Thread pool Pin
Dave Kreskowiak6-Feb-20 2:53
mveDave Kreskowiak6-Feb-20 2:53 
Write better code?

How did you expect me to answer that? There are so many ways of writing database access code and even more ways of doing it wrong it's impossible for anyone to guess at what you're doing and how you're doing it.

About the best I can do is tell you that your database code should follow a pattern: Open the connection to the database as late as possible, do your database work as quickly as possible, then close the connection as early as possible. Do not open a connection as part of a class to make it visible anywhere within the class. You will have less control over the lifetime of the connection.

QuestionAccessing .AVI As Embedded Resource Pin
rich_wenger19-Jan-06 7:45
rich_wenger19-Jan-06 7:45 
Questionto trigger some actions after form load. Pin
Manu_8119-Jan-06 7:37
Manu_8119-Jan-06 7:37 
AnswerRe: to trigger some actions after form load. Pin
mav.northwind19-Jan-06 8:05
mav.northwind19-Jan-06 8:05 
GeneralRe: to trigger some actions after form load. Pin
Manu_8119-Jan-06 8:19
Manu_8119-Jan-06 8:19 
GeneralRe: to trigger some actions after form load. Pin
Werdna19-Jan-06 11:35
Werdna19-Jan-06 11:35 
GeneralRe: to trigger some actions after form load. Pin
RaviGupta798623-Jul-10 22:48
RaviGupta798623-Jul-10 22:48 
Questiondouble accuracy and equality Pin
vineas19-Jan-06 7:06
vineas19-Jan-06 7:06 

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.