Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to rread a line from a txt file to an array Pin
Kiran Satish17-Oct-04 10:32
Kiran Satish17-Oct-04 10:32 
GeneralRe: how to rread a line from a txt file to an array Pin
Christian Graus17-Oct-04 10:53
protectorChristian Graus17-Oct-04 10:53 
GeneralRe: how to rread a line from a txt file to an array Pin
Kiran Satish17-Oct-04 10:56
Kiran Satish17-Oct-04 10:56 
AnswerRe: how to rread a line from a txt file to an array Pin
Christian Graus17-Oct-04 10:54
protectorChristian Graus17-Oct-04 10:54 
GeneralRe: how to rread a line from a txt file to an array Pin
tom_dx17-Oct-04 12:52
tom_dx17-Oct-04 12:52 
GeneralRe: how to rread a line from a txt file to an array Pin
Christian Graus17-Oct-04 13:06
protectorChristian Graus17-Oct-04 13:06 
GeneralRe: how to rread a line from a txt file to an array Pin
tom_dx17-Oct-04 13:48
tom_dx17-Oct-04 13:48 
AnswerRe: how to rread a line from a txt file to an array Pin
Rob Tomson17-Oct-04 23:20
Rob Tomson17-Oct-04 23:20 
i just had to do that for a project i'm working on. this is what i came up with:

			System.IO.StreamReader sReader;<br />
			System.Collections.ArrayList textArray;<br />
<br />
			sReader = new System.IO.StreamReader(filename);<br />
			textArray = new System.Collections.ArrayList();<br />
			while(true)<br />
			{<br />
				string line = sReader.ReadLine();<br />
				if(null != line)<br />
					textArray.Add(line);<br />
				else<br />
					break;<br />
			}<br />


--
There are 10 kinds of people. Those who understand binary and those who don't.

GeneralRe: how to rread a line from a txt file to an array Pin
leppie18-Oct-04 0:31
leppie18-Oct-04 0:31 
GeneralRe: how to rread a line from a txt file to an array Pin
tom_dx19-Oct-04 13:37
tom_dx19-Oct-04 13:37 
AnswerRe: how to rread a line from a txt file to an array Pin
Anonymous20-Oct-04 7:01
Anonymous20-Oct-04 7:01 
Questionlistview with combobox as subitem? Pin
vista2717-Oct-04 9:04
vista2717-Oct-04 9:04 
AnswerRe: listview with combobox as subitem? Pin
Kiran Satish17-Oct-04 10:39
Kiran Satish17-Oct-04 10:39 
GeneralRe: listview with combobox as subitem? Pin
Heath Stewart17-Oct-04 10:54
protectorHeath Stewart17-Oct-04 10:54 
AnswerRe: listview with combobox as subitem? Pin
mav.northwind17-Oct-04 20:25
mav.northwind17-Oct-04 20:25 
GeneralWinForm embedding in IE and Security Pin
afinnell17-Oct-04 8:53
afinnell17-Oct-04 8:53 
GeneralRe: WinForm embedding in IE and Security Pin
Heath Stewart17-Oct-04 10:52
protectorHeath Stewart17-Oct-04 10:52 
GeneralRe: WinForm embedding in IE and Security Pin
afinnell18-Oct-04 4:41
afinnell18-Oct-04 4:41 
GeneralRe: WinForm embedding in IE and Security Pin
Heath Stewart18-Oct-04 5:31
protectorHeath Stewart18-Oct-04 5:31 
GeneralRe: WinForm embedding in IE and Security Pin
afinnell18-Oct-04 5:45
afinnell18-Oct-04 5:45 
GeneralRe: WinForm embedding in IE and Security Pin
Heath Stewart18-Oct-04 6:24
protectorHeath Stewart18-Oct-04 6:24 
GeneralRe: WinForm embedding in IE and Security Pin
afinnell18-Oct-04 7:47
afinnell18-Oct-04 7:47 
GeneralGet backup status using WMI Pin
WillemM17-Oct-04 7:19
WillemM17-Oct-04 7:19 
GeneralRe: Get backup status using WMI Pin
Anonymous17-Oct-04 16:52
Anonymous17-Oct-04 16:52 
GeneralRe: Get backup status using WMI Pin
Anonymous17-Oct-04 17:41
Anonymous17-Oct-04 17:41 

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.