Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
Questioncustomizing crystal reports Pin
harcaype27-Nov-08 2:55
harcaype27-Nov-08 2:55 
AnswerRe: customizing crystal reports Pin
Eddy Vluggen27-Nov-08 4:37
professionalEddy Vluggen27-Nov-08 4:37 
GeneralRe: customizing crystal reports Pin
harcaype28-Nov-08 13:40
harcaype28-Nov-08 13:40 
QuestionMaking a class public Pin
Thekaninos27-Nov-08 2:32
Thekaninos27-Nov-08 2:32 
AnswerRe: Making a class public Pin
Simon P Stevens27-Nov-08 2:53
Simon P Stevens27-Nov-08 2:53 
GeneralRe: Making a class public [modified] Pin
Thekaninos27-Nov-08 3:14
Thekaninos27-Nov-08 3:14 
GeneralRe: Making a class public Pin
Simon P Stevens27-Nov-08 3:24
Simon P Stevens27-Nov-08 3:24 
AnswerRe: Making a class public Pin
PIEBALDconsult27-Nov-08 4:10
mvePIEBALDconsult27-Nov-08 4:10 
public class X
{
    public readonly SqlCommand Command ;

    public X
    (
        string ConnectionString
    ) 
    {
        Command = ( new SqlConnection ( ConnectionString ) ).CreateCommand() ;
 
        return ;
    }
}


There, that wasn't so hard was it? (You can get the Connection from the Command.)

I would not leave the connection open constantly.


See also this[^] outstanding article.
QuestionLetter Combination Pin
Silvyster27-Nov-08 2:01
Silvyster27-Nov-08 2:01 
AnswerRe: Letter Combination Pin
Simon P Stevens27-Nov-08 3:12
Simon P Stevens27-Nov-08 3:12 
AnswerRe: Letter Combination Pin
Guffa27-Nov-08 3:20
Guffa27-Nov-08 3:20 
QuestionWhy doesnt this function for controls objects work? [modified] Pin
Matjaz-xyz27-Nov-08 1:45
Matjaz-xyz27-Nov-08 1:45 
AnswerRe: Why doesnt this function for creating objects work? Pin
leppie27-Nov-08 1:55
leppie27-Nov-08 1:55 
GeneralRe: Why doesnt this function for creating objects work? Pin
Matjaz-xyz27-Nov-08 2:01
Matjaz-xyz27-Nov-08 2:01 
AnswerRe: Why doesnt this function for creating objects work? Pin
leppie27-Nov-08 1:57
leppie27-Nov-08 1:57 
GeneralRe: Why doesnt this function for creating objects work? Pin
Matjaz-xyz27-Nov-08 2:17
Matjaz-xyz27-Nov-08 2:17 
GeneralRe: Why doesnt this function for creating objects work? Pin
Tom Deketelaere27-Nov-08 2:21
professionalTom Deketelaere27-Nov-08 2:21 
GeneralRe: Why doesnt this function for creating objects work? Pin
Matjaz-xyz27-Nov-08 2:23
Matjaz-xyz27-Nov-08 2:23 
AnswerRe: Why doesnt this function for creating objects work? Pin
Matjaz-xyz27-Nov-08 2:20
Matjaz-xyz27-Nov-08 2:20 
AnswerRe: Why doesnt this function for controls objects work? Pin
Thomas Weller27-Nov-08 2:25
Thomas Weller27-Nov-08 2:25 
QuestionFind Hndlers of an other application Windows Pin
franco nero27-Nov-08 1:40
franco nero27-Nov-08 1:40 
AnswerRe: Find Hndlers of an other application Windows Pin
Giorgi Dalakishvili27-Nov-08 1:55
mentorGiorgi Dalakishvili27-Nov-08 1:55 
QuestionReflection - practical application Pin
devvvy27-Nov-08 1:38
devvvy27-Nov-08 1:38 
AnswerRe: Reflection - practical application Pin
Simon P Stevens27-Nov-08 1:45
Simon P Stevens27-Nov-08 1:45 
GeneralRe: Reflection - practical application Pin
devvvy27-Nov-08 2:18
devvvy27-Nov-08 2:18 

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.