Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL query help Pin
Anonymous10-Jul-05 22:14
Anonymous10-Jul-05 22:14 
GeneralRe: SQL query help Pin
Sheo Narayan10-Jul-05 22:21
Sheo Narayan10-Jul-05 22:21 
QuestionAre Enum's best for this?? Pin
rmoen10-Jul-05 17:49
rmoen10-Jul-05 17:49 
AnswerRe: Are Enum's best for this?? Pin
Guffa11-Jul-05 4:54
Guffa11-Jul-05 4:54 
Questionhow to load a non .Net Win32 DLL in .Net emulator Pin
kroller10-Jul-05 16:42
kroller10-Jul-05 16:42 
AnswerRe: how to load a non .Net Win32 DLL in .Net emulator Pin
Alex Korchemniy10-Jul-05 19:11
Alex Korchemniy10-Jul-05 19:11 
GeneralRe: how to load a non .Net Win32 DLL in .Net emulator Pin
kroller10-Jul-05 19:17
kroller10-Jul-05 19:17 
GeneralReading the contents of a txt/CSV file into an array Pin
TheBlindWatchmaker10-Jul-05 16:15
TheBlindWatchmaker10-Jul-05 16:15 
Hello list,

I've found myself in a bit of a pickle in trying to do something that is intuitively simple. I'm relatively new to coding, esp. in C#, so I hope you don't mind a novice-level question.

Here's what I need to do:
1. I have a text file with some data, and each line in the text file is a number of type "double".

2. I would like the user to be able to click a button on the application's form, navigate to this text file and be able to read ALL available lines (numbers) into an array of doubles.

I've figured out how to put the button on the form and the use of the OpenFileDialog. I just don't seem to be doing the reading of data into the array correctly.

Your help would be greatly appreciated! Thank you.


GeneralRe: Reading the contents of a txt/CSV file into an array Pin
Weiye Chen10-Jul-05 16:44
Weiye Chen10-Jul-05 16:44 
GeneralRe: Reading the contents of a txt/CSV file into an array Pin
Alomgir Miah11-Jul-05 8:33
Alomgir Miah11-Jul-05 8:33 
GeneralAquaButton - A very nice Button control Pin
Nicvan_us10-Jul-05 16:09
Nicvan_us10-Jul-05 16:09 
GeneralRe: AquaButton - A very nice Button control Pin
Alex Korchemniy10-Jul-05 19:08
Alex Korchemniy10-Jul-05 19:08 
GeneralRe: AquaButton - A very nice Button control Pin
User 209307310-Jul-05 19:29
User 209307310-Jul-05 19:29 
Generalmy mp3 alarm clock program Pin
marazm110-Jul-05 14:55
marazm110-Jul-05 14:55 
GeneralRe: my mp3 alarm clock program Pin
Yulianto.10-Jul-05 21:48
Yulianto.10-Jul-05 21:48 
GeneralMass Coding Pin
Expert Coming10-Jul-05 13:45
Expert Coming10-Jul-05 13:45 
GeneralRe: Mass Coding Pin
Guffa10-Jul-05 13:53
Guffa10-Jul-05 13:53 
GeneralRe: Mass Coding Pin
Expert Coming10-Jul-05 13:58
Expert Coming10-Jul-05 13:58 
GeneralRe: Mass Coding Pin
Guffa11-Jul-05 0:44
Guffa11-Jul-05 0:44 
GeneralDifferent Guffa Pin
Expert Coming11-Jul-05 7:39
Expert Coming11-Jul-05 7:39 
GeneralRe: Mass Coding Pin
Luis Alonso Ramos10-Jul-05 13:57
Luis Alonso Ramos10-Jul-05 13:57 
GeneralRe: Mass Coding Pin
Expert Coming10-Jul-05 13:59
Expert Coming10-Jul-05 13:59 
GeneralRe: Mass Coding Pin
DavidNohejl10-Jul-05 14:06
DavidNohejl10-Jul-05 14:06 
GeneralRe: Mass Coding Pin
Expert Coming10-Jul-05 14:13
Expert Coming10-Jul-05 14:13 
GeneralRe: Mass Coding Pin
Luis Alonso Ramos10-Jul-05 14:16
Luis Alonso Ramos10-Jul-05 14:16 

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.