Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to make long time whit ConnectionTimeout Pin
PavanPareta17-Nov-08 19:11
PavanPareta17-Nov-08 19:11 
QuestionAll rows are not comming in dataset while filling from Excel.(when different datatype in excel column) Pin
ManojKumar1917-Nov-08 6:43
ManojKumar1917-Nov-08 6:43 
AnswerRe: All rows are not comming in dataset while filling from Excel.(when different datatype in excel column) Pin
leppie17-Nov-08 20:24
leppie17-Nov-08 20:24 
GeneralRe: All rows are not comming in dataset while filling from Excel.(when different datatype in excel column) Pin
ManojKumar1918-Nov-08 4:52
ManojKumar1918-Nov-08 4:52 
Questiona problem of multiple forms Pin
Seraph_summer17-Nov-08 5:18
Seraph_summer17-Nov-08 5:18 
AnswerRe: a problem of multiple forms Pin
Ennis Ray Lynch, Jr.17-Nov-08 5:35
Ennis Ray Lynch, Jr.17-Nov-08 5:35 
QuestionCase select versus IF Statement Pin
EliottA17-Nov-08 4:59
EliottA17-Nov-08 4:59 
AnswerRe: Case select versus IF Statement Pin
Ennis Ray Lynch, Jr.17-Nov-08 5:03
Ennis Ray Lynch, Jr.17-Nov-08 5:03 
AnswerRe: Case select versus IF Statement Pin
#realJSOP17-Nov-08 6:04
mve#realJSOP17-Nov-08 6:04 
GeneralRe: Case select versus IF Statement Pin
EliottA17-Nov-08 6:12
EliottA17-Nov-08 6:12 
GeneralRe: Case select versus IF Statement Pin
#realJSOP17-Nov-08 6:31
mve#realJSOP17-Nov-08 6:31 
GeneralRe: Case select versus IF Statement Pin
Robert.C.Cartaino17-Nov-08 6:54
Robert.C.Cartaino17-Nov-08 6:54 
AnswerRe: Case select versus IF Statement Pin
Guffa17-Nov-08 6:29
Guffa17-Nov-08 6:29 
GeneralRe: Case select versus IF Statement Pin
#realJSOP17-Nov-08 11:03
mve#realJSOP17-Nov-08 11:03 
GeneralRe: Case select versus IF Statement Pin
Guffa17-Nov-08 13:09
Guffa17-Nov-08 13:09 
GeneralRe: Case select versus IF Statement Pin
Luc Pattyn17-Nov-08 15:29
sitebuilderLuc Pattyn17-Nov-08 15:29 
QuestionWhat is this friggin .config file? Pin
Dewald17-Nov-08 4:34
Dewald17-Nov-08 4:34 
AnswerRe: What is this friggin .config file? Pin
led mike17-Nov-08 4:46
led mike17-Nov-08 4:46 
GeneralRe: What is this friggin .config file? Pin
Dewald17-Nov-08 21:05
Dewald17-Nov-08 21:05 
GeneralRe: What is this friggin .config file? Pin
led mike18-Nov-08 6:05
led mike18-Nov-08 6:05 
GeneralRe: What is this friggin .config file? Pin
Dewald18-Nov-08 22:03
Dewald18-Nov-08 22:03 
GeneralRe: What is this friggin .config file? Pin
led mike19-Nov-08 5:31
led mike19-Nov-08 5:31 
GeneralRe: What is this friggin .config file? Pin
Dewald19-Nov-08 6:00
Dewald19-Nov-08 6:00 
led mike wrote:
I submit that if those 2 days jeopardize a deadline, then there are far bigger problems with that project than any single developer can solve.


Ha! I like this one. And I fully agree.

After typing up the previous post I gave it some more thought and discussed it with a co-worker during lunch. In future I will refuse to feel guilty for spending company time to research issues such as this. If 2 or 3 days are required for me to get to understand .config files (and I suspect it will more likely be a couple of hours, not days) then that is the amount of time that this project requires extra in order for me to finish it.

I'm not just programming so that I can finish projects, I'm also programming so that I can become better and finish future projects more elegantly, more efficiently and quicker. So it only makes sense that my employer should pay me for researching such issues with the same willingness that he is paying me to do actual developing. Big Grin | :-D


As a matter of interest, I have spent some time today to get to understand .config files and the basics seems to be fairly straight forward. A possible shortcoming (and further studying might reveal this to be moot) is that settings are stored as key/value pairs while I have a need to group key/value pairs according to different sections.

In other words, I can have the following in my config file:
<add key="DatabaseHost" value="192.168.0.5" />
<add key="DatabaseName" value="MyDB" />
<add key="TCPHost" value="192.168.0.10" />
<add key="TCPPort" value="12345" />


but I'd rather have preferred if these could be split into two sections, one called "Database" and one called TCP, each containing the key/value pairs that only pertains to that particular section.

Also, I found a discussion on the MSDN forums[^] where someone else experienced exactly the problem that I experienced and ultimately did not really get an answer to his question. I'm starting to wonder if I'll just have to accept the fact that VS2008 has a different naming scheme than VS2005 despite what the documentation says.
Questionefficient Pin
dole.doug17-Nov-08 4:05
dole.doug17-Nov-08 4:05 
AnswerRe: efficient Pin
Pr@teek B@h!17-Nov-08 4:11
Pr@teek B@h!17-Nov-08 4:11 

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.