Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Working with multiple forms Pin
bwood202012-May-09 9:13
bwood202012-May-09 9:13 
GeneralRe: Working with multiple forms Pin
Henry Minute12-May-09 9:22
Henry Minute12-May-09 9:22 
GeneralRe: Working with multiple forms Pin
bwood202012-May-09 9:48
bwood202012-May-09 9:48 
GeneralRe: Working with multiple forms Pin
Henry Minute12-May-09 10:00
Henry Minute12-May-09 10:00 
GeneralRe: Working with multiple forms Pin
bwood202012-May-09 11:10
bwood202012-May-09 11:10 
GeneralRe: Working with multiple forms Pin
Henry Minute12-May-09 11:54
Henry Minute12-May-09 11:54 
GeneralRe: Working with multiple forms Pin
bwood202013-May-09 4:02
bwood202013-May-09 4:02 
GeneralRe: Working with multiple forms Pin
bwood202013-May-09 6:20
bwood202013-May-09 6:20 
Hi Henry,

I have read a couple articles on escape sequences and have tried to include the same line of code(just modified to fit what I need) and I still get errors. Maybe I am looking in the wrong place but when I try and use
Extended Properties=\"\"text;HDR=Yes;FMT=Delimited(" + gds + ");\"\";"; it says I need to add ";". But when I add one it tells me I need to add another. However, if I were to plug the line of code above into the code found in the Code Project page it seems fine. I think what is happening is that there is something wrong with the first part of the connection string, maybe the Source.

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Path.GetDirectoryName(FilePath) + @";

Could you look at this one more time for me and point me in the right direction when you have time please? Here is the entire connection string:

String comString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Path.GetDirectoryName(FilePath) + @";Extended Properties=\"\"text;HDR=Yes;FMT=Delimited(" + gds + ");\"\";";



Thank you,

Brenton
GeneralRe: Working with multiple forms Pin
Henry Minute13-May-09 6:38
Henry Minute13-May-09 6:38 
GeneralRe: Working with multiple forms Pin
bwood202014-May-09 9:49
bwood202014-May-09 9:49 
GeneralRe: Working with multiple forms Pin
Henry Minute14-May-09 10:46
Henry Minute14-May-09 10:46 
GeneralRe: Working with multiple forms Pin
DaveyM6912-May-09 8:09
professionalDaveyM6912-May-09 8:09 
QuestionI can't get latest value by ref parameter. WHY? [modified] Pin
codeadair12-May-09 5:26
codeadair12-May-09 5:26 
AnswerRe: I can't get latest value by ref parameter. WHY? Pin
Henry Minute12-May-09 5:39
Henry Minute12-May-09 5:39 
GeneralRe: I can't get latest value by ref parameter. WHY? Pin
codeadair12-May-09 14:57
codeadair12-May-09 14:57 
QuestionSeveral event handlers, one handler function, how to know which event handler has been used?? Pin
blackhattrick12-May-09 5:23
blackhattrick12-May-09 5:23 
AnswerRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
DaveyM6912-May-09 5:29
professionalDaveyM6912-May-09 5:29 
AnswerRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
Samer Aburabie12-May-09 5:32
Samer Aburabie12-May-09 5:32 
AnswerRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
OriginalGriff12-May-09 5:34
mveOriginalGriff12-May-09 5:34 
AnswerRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
blackhattrick12-May-09 5:53
blackhattrick12-May-09 5:53 
GeneralRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
riced12-May-09 7:43
riced12-May-09 7:43 
GeneralRe: Several event handlers, one handler function, how to know which event handler has been used?? Pin
blackhattrick12-May-09 15:24
blackhattrick12-May-09 15:24 
QuestionProgramatically download file (script problem) Pin
Niemand2512-May-09 5:13
professionalNiemand2512-May-09 5:13 
QuestionHELP with assignment Pin
sofi7912-May-09 5:00
sofi7912-May-09 5:00 
AnswerRe: HELP with assignment Pin
EliottA12-May-09 5:09
EliottA12-May-09 5:09 

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.