Click here to Skip to main content
15,883,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: Trace any copy of files in window xp ? Pin
kindman_nb7-Dec-08 17:56
kindman_nb7-Dec-08 17:56 
AnswerRe: Trace any copy of files in window xp ? Pin
Marcelo Emmerich7-Dec-08 6:01
Marcelo Emmerich7-Dec-08 6:01 
GeneralRe: Trace any copy of files in window xp ? Pin
kindman_nb7-Dec-08 17:55
kindman_nb7-Dec-08 17:55 
Questionbattleship program Pin
colonelgadaffi6-Dec-08 7:58
colonelgadaffi6-Dec-08 7:58 
AnswerRe: battleship program Pin
Thomas Stockwell6-Dec-08 15:59
professionalThomas Stockwell6-Dec-08 15:59 
GeneralRe: battleship program Pin
colonelgadaffi9-Dec-08 8:57
colonelgadaffi9-Dec-08 8:57 
GeneralRe: battleship program Pin
Thomas Stockwell9-Dec-08 9:37
professionalThomas Stockwell9-Dec-08 9:37 
QuestionMaking all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Sunset Towers6-Dec-08 7:00
Sunset Towers6-Dec-08 7:00 
I'm importing data from a csv file and I need all the fields to be read in as text fields.

I have a zip code field that when I need to put in ZipCode+4(12345-6789) it throws an err because the field is interpreted as a int32 or some such.

I don't see any options anywhere to force the driver to make all the field text either. I thought this is possible, I'm pretty sure it would work with the Jet drivers if they were installed.

If they are installed, they are not showing up in the ODBC Data Source Administrator.

Connection.ConnectionString = 
                    string.Format(@"Dsn=CSV;dbq={0};defaultdir={0};driverid=27;fil=text;maxbuffersize=2048;pagetimeout=5", new FileInfo(openFileDialogGetCRDCSV.FileName).DirectoryName);

AnswerRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Wendelius6-Dec-08 7:40
mentorWendelius6-Dec-08 7:40 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Sunset Towers6-Dec-08 7:52
Sunset Towers6-Dec-08 7:52 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Wendelius6-Dec-08 7:57
mentorWendelius6-Dec-08 7:57 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Sunset Towers6-Dec-08 8:19
Sunset Towers6-Dec-08 8:19 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Wendelius6-Dec-08 8:27
mentorWendelius6-Dec-08 8:27 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Mycroft Holmes6-Dec-08 23:15
professionalMycroft Holmes6-Dec-08 23:15 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Sunset Towers6-Dec-08 23:30
Sunset Towers6-Dec-08 23:30 
QuestionTesting C# with xUnit Pin
Jammer6-Dec-08 5:33
Jammer6-Dec-08 5:33 
QuestionC# serial Port Pin
Karmendra Suthar6-Dec-08 5:05
Karmendra Suthar6-Dec-08 5:05 
AnswerRe: C# serial Port Pin
Wendelius6-Dec-08 5:41
mentorWendelius6-Dec-08 5:41 
Questionmaking alarm Pin
Xmen Real 6-Dec-08 4:48
professional Xmen Real 6-Dec-08 4:48 
AnswerRe: making alarm [modified] Pin
Alan N6-Dec-08 10:12
Alan N6-Dec-08 10:12 
GeneralRe: making alarm Pin
Xmen Real 6-Dec-08 14:29
professional Xmen Real 6-Dec-08 14:29 
AnswerRe: making alarm Pin
Wendelius7-Dec-08 0:12
mentorWendelius7-Dec-08 0:12 
GeneralRe: making alarm Pin
Xmen Real 7-Dec-08 1:53
professional Xmen Real 7-Dec-08 1:53 
GeneralRe: making alarm Pin
Wendelius7-Dec-08 2:43
mentorWendelius7-Dec-08 2:43 
QuestionBorder Of Group Box Pin
nagendra.vk6-Dec-08 4:10
nagendra.vk6-Dec-08 4:10 

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.