Click here to Skip to main content
15,922,630 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# 2010 Express - SQL Server 2008 Express connection "Login failed" Pin
bneveux19-Nov-12 0:04
bneveux19-Nov-12 0:04 
QuestionWrite and read a paragraph in XML format string ? Pin
taibc18-Nov-12 16:29
taibc18-Nov-12 16:29 
AnswerRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 20:07
n.podbielski18-Nov-12 20:07 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 20:21
taibc18-Nov-12 20:21 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 21:06
n.podbielski18-Nov-12 21:06 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 21:10
taibc18-Nov-12 21:10 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 21:19
n.podbielski18-Nov-12 21:19 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 21:28
taibc18-Nov-12 21:28 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 21:34
n.podbielski18-Nov-12 21:34 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 21:36
taibc18-Nov-12 21:36 
AnswerRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 4:18
mvePIEBALDconsult20-Nov-12 4:18 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 5:44
n.podbielski20-Nov-12 5:44 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 6:29
mvePIEBALDconsult20-Nov-12 6:29 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 7:43
n.podbielski20-Nov-12 7:43 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 10:45
mvePIEBALDconsult20-Nov-12 10:45 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 11:03
n.podbielski20-Nov-12 11:03 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 13:45
mvePIEBALDconsult20-Nov-12 13:45 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc20-Nov-12 14:30
taibc20-Nov-12 14:30 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 17:08
mvePIEBALDconsult20-Nov-12 17:08 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc20-Nov-12 17:33
taibc20-Nov-12 17:33 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 18:08
mvePIEBALDconsult20-Nov-12 18:08 
Question[Help] C# .txt Pin
mumbot18-Nov-12 14:03
mumbot18-Nov-12 14:03 
AnswerRe: [Help] C# .txt Pin
Praveen Raghuvanshi18-Nov-12 18:30
professionalPraveen Raghuvanshi18-Nov-12 18:30 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 19:43
mumbot18-Nov-12 19:43 
GeneralRe: [Help] C# .txt Pin
V.19-Nov-12 0:37
professionalV.19-Nov-12 0:37 
If this is just a proof of concept ignore my comment below Big Grin | :-D

If this is to start creating configuration for your application a txt file will work, but is probably not the best option around there. You can use
- ini files (Please don't)
- xml files (better)
- App.config or similar (recommended, certainly if you want machine based settings)
- Database (I usually use this one as much as possible and use an app.config to point to the database)

Note that there is a difference between user settings (eg, language, application options, ...) and system settings (time outs, root paths, database connection strings, ...) You might want to split those.

Just for info.

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.