Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to perform mouse click on forms applications? Pin
smr858-Jun-06 21:12
smr858-Jun-06 21:12 
GeneralRe: how to perform mouse click on forms applications? Pin
rah_sin8-Jun-06 21:21
professionalrah_sin8-Jun-06 21:21 
AnswerRe: how to perform mouse click on forms applications? Pin
suguimoto8-Jun-06 21:10
suguimoto8-Jun-06 21:10 
GeneralRe: how to perform mouse click on forms applications? Pin
smr858-Jun-06 21:25
smr858-Jun-06 21:25 
QuestionDrawing Frameworks for C#? Pin
tansey48-Jun-06 12:12
tansey48-Jun-06 12:12 
AnswerRe: Drawing Frameworks for C#? Pin
stancrm8-Jun-06 20:03
stancrm8-Jun-06 20:03 
QuestionRetrieving connection string from app.config Pin
IMC20068-Jun-06 12:03
IMC20068-Jun-06 12:03 
AnswerRe: Retrieving connection string from app.config Pin
Colin Angus Mackay8-Jun-06 12:28
Colin Angus Mackay8-Jun-06 12:28 
At the top of your file put:
using System.Configuration;

When you want to retrieve the setting use:
string connString = ConfigurationSettings.AppSettings["MyConnectionStringSetting"];

(Change "MyConnectionStringSetting" to the name of the setting in the app.config[^] file)



"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
QuestionWhy do the GNU/Linux users recommend C#? Pin
X.Cyclop8-Jun-06 11:38
X.Cyclop8-Jun-06 11:38 
AnswerRe: Why do the GNU/Linux users recommend C#? Pin
Colin Angus Mackay8-Jun-06 12:20
Colin Angus Mackay8-Jun-06 12:20 
GeneralRe: Why do the GNU/Linux users recommend C#? Pin
X.Cyclop8-Jun-06 12:27
X.Cyclop8-Jun-06 12:27 
GeneralRe: Why do the GNU/Linux users recommend C#? Pin
Colin Angus Mackay8-Jun-06 12:33
Colin Angus Mackay8-Jun-06 12:33 
QuestionDatabind xml to a treeview Pin
eggie58-Jun-06 10:58
eggie58-Jun-06 10:58 
AnswerRe: Databind xml to a treeview Pin
Koushik Biswas9-Jun-06 7:19
Koushik Biswas9-Jun-06 7:19 
QuestionC# speed vs unmanaged C++ Pin
sjdevo3gsr8-Jun-06 10:58
sjdevo3gsr8-Jun-06 10:58 
AnswerRe: C# speed vs unmanaged C++ Pin
Stephan Samuel8-Jun-06 11:31
Stephan Samuel8-Jun-06 11:31 
AnswerRe: C# speed vs unmanaged C++ Pin
leppie8-Jun-06 20:42
leppie8-Jun-06 20:42 
AnswerRe: C# speed vs unmanaged C++ Pin
Robert Rohde8-Jun-06 20:55
Robert Rohde8-Jun-06 20:55 
GeneralRe: C# speed vs unmanaged C++ Pin
Guffa9-Jun-06 3:10
Guffa9-Jun-06 3:10 
QuestionDataGridView grid lines??? Pin
Small Rat8-Jun-06 10:47
Small Rat8-Jun-06 10:47 
AnswerRe: DataGridView grid lines??? Pin
Mairaaj Khan8-Jun-06 21:22
professionalMairaaj Khan8-Jun-06 21:22 
QuestionRegEx help Pin
econner8-Jun-06 9:02
econner8-Jun-06 9:02 
AnswerRe: RegEx help Pin
Dustin Metzgar8-Jun-06 9:06
Dustin Metzgar8-Jun-06 9:06 
GeneralRe: RegEx help Pin
econner8-Jun-06 9:11
econner8-Jun-06 9:11 
GeneralRe: RegEx help Pin
Le centriste8-Jun-06 9:24
Le centriste8-Jun-06 9:24 

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.