Click here to Skip to main content
15,884,971 members
Home / Discussions / C#
   

C#

 
GeneralRe: Where to Start for URL Monitoring Pin
Anubhava Dimri10-Feb-11 18:36
Anubhava Dimri10-Feb-11 18:36 
AnswerRe: Where to Start for URL Monitoring Pin
Dave Kreskowiak2-Feb-11 10:40
mveDave Kreskowiak2-Feb-11 10:40 
GeneralRe: Where to Start for URL Monitoring Pin
Anubhava Dimri2-Feb-11 18:48
Anubhava Dimri2-Feb-11 18:48 
GeneralRe: Where to Start for URL Monitoring Pin
Dave Kreskowiak3-Feb-11 2:22
mveDave Kreskowiak3-Feb-11 2:22 
GeneralRe: Where to Start for URL Monitoring Pin
Anubhava Dimri10-Feb-11 20:38
Anubhava Dimri10-Feb-11 20:38 
GeneralRe: Where to Start for URL Monitoring Pin
Dave Kreskowiak11-Feb-11 1:47
mveDave Kreskowiak11-Feb-11 1:47 
GeneralRe: Where to Start for URL Monitoring Pin
Anubhava Dimri11-Feb-11 17:58
Anubhava Dimri11-Feb-11 17:58 
QuestionI've programmed Myself Into A Corner Pin
Roger Wright1-Feb-11 19:18
professionalRoger Wright1-Feb-11 19:18 
A good while back I started a program to read csv files, classify the lines to separate the chaff from the wheat, then convert the text fields to proper types and save the records to a remote SQL Server database. As usual, I did it half in the bag, late at night after very long days at work, that being the only time I have available. I had to drop it for a couple of months, but I'm now back into it and trying to figure out what I was doing. Predictably, it's a mess - spaghetti code, for lack of a better term. It works, that part that I managed to finish back then, but the major hurdle lies ahead and I'm refactoring the monster before I begin again. But I digress...

I had no trouble using the StreamReader to read the data, and at your collective suggestion, implemented ugly, nasty little Regexes to classify the text lines into keepers and crap. I asked about creating a new database on the remote SQL Server instance, and after being told that it can't be done, did it anyway. All that works great, jumbled mishmash though it is. What's stumping me is this:

On first run, I want to create the database and save all the neccesary connection information in the AppConfig file so I won't have to enter it manually. I can't figure out how to do that, despite searching MSDN for articles on the subject. I believe that there exists a whole class devoted to manipulating the AppConfig file, but I'm stumped and have little time available to search through all the irrelevant links MSDN returns. Can someone give me a quick clue? I know this is trivial stuff, as every program that accesses a database uses it, but I'm not having much luck with it for some reason.

Thanks a bunch in advance. If I didn't have this crowd to assist with the sticky bits, I'd probably quit programming at all, even as a hobby - it so easily becomes incredibly frustrating. I'm unspeakably grateful... Blush | :O
Will Rogers never met me.

AnswerRe: I've programmed Myself Into A Corner Pin
OriginalGriff1-Feb-11 21:25
mveOriginalGriff1-Feb-11 21:25 
GeneralRe: I've programmed Myself Into A Corner Pin
Roger Wright2-Feb-11 6:41
professionalRoger Wright2-Feb-11 6:41 
AnswerRe: I've programmed Myself Into A Corner Pin
Estys1-Feb-11 21:28
Estys1-Feb-11 21:28 
GeneralRe: I've programmed Myself Into A Corner Pin
Roger Wright2-Feb-11 6:42
professionalRoger Wright2-Feb-11 6:42 
AnswerRe: I've programmed Myself Into A Corner Pin
PIEBALDconsult2-Feb-11 2:09
mvePIEBALDconsult2-Feb-11 2:09 
GeneralRe: I've programmed Myself Into A Corner Pin
Roger Wright2-Feb-11 6:44
professionalRoger Wright2-Feb-11 6:44 
GeneralRe: I've programmed Myself Into A Corner Pin
OriginalGriff2-Feb-11 8:15
mveOriginalGriff2-Feb-11 8:15 
GeneralRe: I've programmed Myself Into A Corner Pin
Roger Wright2-Feb-11 14:33
professionalRoger Wright2-Feb-11 14:33 
GeneralRe: I've programmed Myself Into A Corner Pin
OriginalGriff2-Feb-11 21:17
mveOriginalGriff2-Feb-11 21:17 
GeneralRe: I've programmed Myself Into A Corner Pin
PIEBALDconsult2-Feb-11 13:21
mvePIEBALDconsult2-Feb-11 13:21 
QuestionGraph schedule for hotel menagment system Pin
nighttrain_1-Feb-11 12:08
nighttrain_1-Feb-11 12:08 
AnswerRe: Graph schedule for hotel menagment system Pin
RobCroll1-Feb-11 12:28
RobCroll1-Feb-11 12:28 
GeneralRe: Graph schedule for hotel menagment system [modified] Pin
nighttrain_1-Feb-11 12:36
nighttrain_1-Feb-11 12:36 
GeneralRe: Graph schedule for hotel menagment system Pin
RobCroll1-Feb-11 12:46
RobCroll1-Feb-11 12:46 
QuestionProblem with socket.recieve() , when the clent disconnect Pin
prasadbuddhika1-Feb-11 6:32
prasadbuddhika1-Feb-11 6:32 
AnswerRe: Problem with socket.recieve() , when the clent disconnect Pin
jschell1-Feb-11 10:34
jschell1-Feb-11 10:34 
GeneralRe: Problem with socket.recieve() , when the clent disconnect Pin
Ennis Ray Lynch, Jr.1-Feb-11 10:57
Ennis Ray Lynch, Jr.1-Feb-11 10:57 

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.