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

C#

 
AnswerRe: adding a trackbar into a menustrip? Pin
Abhijit Jana27-Nov-08 3:22
professionalAbhijit Jana27-Nov-08 3:22 
GeneralRe: adding a trackbar into a menustrip? Pin
lane0p227-Nov-08 3:33
lane0p227-Nov-08 3:33 
GeneralRe: adding a trackbar into a menustrip? Pin
Abhijit Jana27-Nov-08 4:46
professionalAbhijit Jana27-Nov-08 4:46 
QuestionASF Files Pin
dotman127-Nov-08 2:57
dotman127-Nov-08 2:57 
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 
Hey,

I now this i kind of a broad question, if not completly trivial, but how would one program a c sharp application that would only need to open a sqlconnection once. For example:

SqlConnection mySqlConnection = new SqlConnection("server=(local)\\SQLEXPRESS;database=cache;Integrated Security=SSPI;");
SqlCommand mySqlCommand = mySqlConnection.CreateCommand();
mySqlConnection.Open();

This works fine and all but i can only access the Sql command inside that class and have to open a new sql connection if i am to use this command again... Hope this is explain good enough...
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 
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 

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.