Click here to Skip to main content
15,909,737 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I open an aboutbox and close it Pin
delphidab22-Feb-06 7:24
delphidab22-Feb-06 7:24 
GeneralRe: How do I open an aboutbox and close it Pin
Dan Neely22-Feb-06 7:28
Dan Neely22-Feb-06 7:28 
GeneralRe: How do I open an aboutbox and close it Pin
delphidab22-Feb-06 7:44
delphidab22-Feb-06 7:44 
GeneralRe: How do I open an aboutbox and close it Pin
User 665822-Feb-06 7:31
User 665822-Feb-06 7:31 
GeneralRe: How do I open an aboutbox and close it Pin
delphidab22-Feb-06 7:42
delphidab22-Feb-06 7:42 
QuestionTool to generate C# code for talking to SQL? Pin
Judah Gabriel Himango22-Feb-06 6:44
sponsorJudah Gabriel Himango22-Feb-06 6:44 
AnswerRe: Tool to generate C# code for talking to SQL? Pin
Colin Angus Mackay22-Feb-06 11:21
Colin Angus Mackay22-Feb-06 11:21 
GeneralRe: Tool to generate C# code for talking to SQL? Pin
Judah Gabriel Himango22-Feb-06 12:27
sponsorJudah Gabriel Himango22-Feb-06 12:27 
Colin Angus Mackay wrote:
Would you like to suggest a way of working where your code would not be screwed by someone changing the stored procedure name, the parameters or the return type?


Sure: a tool that statically analyzes my code and the database code, making sure it's all synced and compatible. Or at very least, a tool that could generate ADO.NET code given a stored proc, view, etc. so that if major changes are made, it would just regenerate ADO.NET code to make it all work nicely again. My C# code would then fail at compile-time, rather than at run-time.

Colin Angus Mackay wrote:
When running a SQL Command you have much greater performance problems to worry about than that piddling little thing.


Ha, that's true, but if you put this on a server where thousands of sprocs are being called, this contributes to more garbage collection, degrading performance. I would suggest a generic class for this; after all, most sproc parameters are value types (come to think of it, the only time I use reference types would be when dealing with text or binary data). I suppose some of the marshalling and casting to get this to work might offset the benefits, if it's at all technologically possible.
QuestionWeb service that accesses an Access database with input from/output to a web app? Pin
Red_Wizard_Shot_The_Food22-Feb-06 6:31
Red_Wizard_Shot_The_Food22-Feb-06 6:31 
Questionadding arrows to buttons Pin
Dsypher22-Feb-06 6:30
Dsypher22-Feb-06 6:30 
AnswerRe: adding arrows to buttons Pin
Alomgir Miah22-Feb-06 7:44
Alomgir Miah22-Feb-06 7:44 
GeneralRe: adding arrows to buttons Pin
Dsypher22-Feb-06 15:24
Dsypher22-Feb-06 15:24 
Questionuninstall in remote system Pin
sendmadhavan22-Feb-06 5:35
sendmadhavan22-Feb-06 5:35 
Questiongarbage collection Pin
zhujp9822-Feb-06 5:25
zhujp9822-Feb-06 5:25 
AnswerRe: garbage collection Pin
Judah Gabriel Himango22-Feb-06 6:23
sponsorJudah Gabriel Himango22-Feb-06 6:23 
AnswerRe: garbage collection Pin
Guffa22-Feb-06 9:16
Guffa22-Feb-06 9:16 
GeneralRe: garbage collection Pin
Colin Angus Mackay22-Feb-06 11:28
Colin Angus Mackay22-Feb-06 11:28 
GeneralRe: garbage collection Pin
Guffa22-Feb-06 11:42
Guffa22-Feb-06 11:42 
GeneralRe: garbage collection Pin
Colin Angus Mackay22-Feb-06 11:50
Colin Angus Mackay22-Feb-06 11:50 
QuestionConvert String to decimal Pin
cppdotnet22-Feb-06 3:51
cppdotnet22-Feb-06 3:51 
AnswerRe: Convert String to decimal Pin
Judah Gabriel Himango22-Feb-06 4:10
sponsorJudah Gabriel Himango22-Feb-06 4:10 
GeneralRe: Convert String to decimal Pin
cppdotnet22-Feb-06 4:16
cppdotnet22-Feb-06 4:16 
GeneralRe: Convert String to decimal Pin
Judah Gabriel Himango22-Feb-06 4:29
sponsorJudah Gabriel Himango22-Feb-06 4:29 
GeneralRe: Convert String to decimal Pin
Dan Neely22-Feb-06 4:37
Dan Neely22-Feb-06 4:37 
GeneralRe: Convert String to decimal Pin
Judah Gabriel Himango22-Feb-06 4:44
sponsorJudah Gabriel Himango22-Feb-06 4:44 

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.