Click here to Skip to main content
15,885,925 members
Home / Discussions / C#
   

C#

 
QuestionC# RSA Pin
budala1232-Jun-09 4:19
budala1232-Jun-09 4:19 
AnswerRe: C# RSA Pin
Ennis Ray Lynch, Jr.2-Jun-09 4:41
Ennis Ray Lynch, Jr.2-Jun-09 4:41 
AnswerRe: C# RSA Pin
Henry Minute2-Jun-09 4:43
Henry Minute2-Jun-09 4:43 
GeneralRe: C# RSA Pin
budala1232-Jun-09 5:18
budala1232-Jun-09 5:18 
GeneralRe: C# RSA Pin
Henry Minute2-Jun-09 5:32
Henry Minute2-Jun-09 5:32 
GeneralRe: C# RSA Pin
budala1232-Jun-09 6:02
budala1232-Jun-09 6:02 
GeneralRe: C# RSA Pin
Henry Minute2-Jun-09 6:08
Henry Minute2-Jun-09 6:08 
QuestionImport Data from CSV into Datatable Pin
polishprogrammer2-Jun-09 4:16
polishprogrammer2-Jun-09 4:16 
"Provider=Microsoft.Jet.OLEDB.4.0;"
+ "Data Source=\"" + dir + "\\\";"
+ "Extended Properties=\"text;HDR=No;FMT=Delimited\"";

I'm using the above connection, together with a SELECT * FROM file statement, to pull in data from a comma-delimited text file, where dir is the directory where the file is located and file is the name of the csv file.

This works well for files that contain English characters only, but for any file that uses non-English (ASCII) characters, the expression fails.

I have written the csv file using a StreamWriter with Encoding=UTF8 so the characters display fine when viewed in Notepad or Excel, but when pulled into the DataTable, the value in the table is blank. Is there some Extended Property that can be used to permit East Asian characters, say, to be displayed properly? Thanks.
AnswerRe: Import Data from CSV into Datatable Pin
dan!sh 2-Jun-09 4:31
professional dan!sh 2-Jun-09 4:31 
QuestionGetting 530 error while downloading files from FTP Pin
avi_dadi20022-Jun-09 4:06
avi_dadi20022-Jun-09 4:06 
AnswerRe: Getting 530 error while downloading files from FTP Pin
EliottA2-Jun-09 5:22
EliottA2-Jun-09 5:22 
Questionclient/server application Pin
tek 20092-Jun-09 4:01
tek 20092-Jun-09 4:01 
AnswerRe: client/server application Pin
dan!sh 2-Jun-09 4:20
professional dan!sh 2-Jun-09 4:20 
GeneralRe: client/server application Pin
EliottA2-Jun-09 5:24
EliottA2-Jun-09 5:24 
GeneralRe: client/server application Pin
tek 20092-Jun-09 6:17
tek 20092-Jun-09 6:17 
GeneralRe: client/server application Pin
EliottA2-Jun-09 6:49
EliottA2-Jun-09 6:49 
GeneralRe: client/server application Pin
tek 20092-Jun-09 22:06
tek 20092-Jun-09 22:06 
QuestionDependencies error while creating Setup file in C# Windows application Pin
Mads1152-Jun-09 3:07
Mads1152-Jun-09 3:07 
AnswerRe: Dependencies error while creating Setup file in C# Windows application Pin
Ahmed Khallaf2-Jun-09 3:22
Ahmed Khallaf2-Jun-09 3:22 
GeneralRe: Dependencies error while creating Setup file in C# Windows application Pin
Mads1152-Jun-09 3:30
Mads1152-Jun-09 3:30 
AnswerRe: Dependencies error while creating Setup file in C# Windows application Pin
Searril2-Jun-09 4:55
Searril2-Jun-09 4:55 
Questionhow do I detect a mouse down in a DataGridView that is not over a cell? Pin
Dan Neely2-Jun-09 2:54
Dan Neely2-Jun-09 2:54 
AnswerRe: how do I detect a mouse down in a DataGridView that is not over a cell? Pin
Jimmanuel2-Jun-09 3:00
Jimmanuel2-Jun-09 3:00 
GeneralRe: how do I detect a mouse down in a DataGridView that is not over a cell? Pin
Dan Neely2-Jun-09 4:04
Dan Neely2-Jun-09 4:04 
Questionadding to a list Pin
maurimauri292-Jun-09 2:47
maurimauri292-Jun-09 2:47 

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.