Click here to Skip to main content
15,912,897 members
Home / Discussions / C#
   

C#

 
AnswerRe: Urgent Pin
Arjun "Mjolnir" Bahree28-Mar-07 9:34
Arjun "Mjolnir" Bahree28-Mar-07 9:34 
GeneralRe: Urgent??? Pin
Tkml23628-Mar-07 9:45
Tkml23628-Mar-07 9:45 
AnswerRe: Urgent??? Pin
Arjun "Mjolnir" Bahree28-Mar-07 10:12
Arjun "Mjolnir" Bahree28-Mar-07 10:12 
GeneralUrgent???? Pin
Tkml23628-Mar-07 10:16
Tkml23628-Mar-07 10:16 
Questionhow to listen windows net send service Pin
Nkuttynasi28-Mar-07 8:15
Nkuttynasi28-Mar-07 8:15 
AnswerRe: how to listen windows net send service Pin
Arjun "Mjolnir" Bahree28-Mar-07 10:08
Arjun "Mjolnir" Bahree28-Mar-07 10:08 
GeneralRe: how to listen windows net send service Pin
Nkuttynasi2-Apr-07 2:34
Nkuttynasi2-Apr-07 2:34 
QuestionProblem populating ListView by a CSV file? Pin
Khoramdin28-Mar-07 7:45
Khoramdin28-Mar-07 7:45 
Hello everyone,

I am trying to read a CSV file and place its data into a ListView. Each line of the CSV file contains 4 values seperated by comma. Can someone tell me how I can place each value under its correct column as I have 4 column in the ListView?

I am using the following code and that is going to populate the first Column with the four values.

StreamReader streamReader = new StreamReader("MyFileList.txt");<br />
while (streamReader.ReadLine() != null)<br />
{<br />
    listView4.Items.Add(streamReader.ReadLine());<br />
}<br />
<br />
streamReader.Close();


Thank you very much for your help and have a great day.

Khoramdin
AnswerRe: Problem populating ListView by a CSV file? Pin
J$28-Mar-07 9:24
J$28-Mar-07 9:24 
QuestionHe only had a toothache? Um... Dog.Euthanize.Undo()... Pin
Edmundisme28-Mar-07 7:29
Edmundisme28-Mar-07 7:29 
AnswerRe: He only had a toothache? Um... Dog.Euthanize.Undo()... Pin
led mike28-Mar-07 8:06
led mike28-Mar-07 8:06 
AnswerRe: He only had a toothache? Um... Dog.Euthanize.Undo()... Pin
Leslie Sanford28-Mar-07 8:14
Leslie Sanford28-Mar-07 8:14 
GeneralRe: He only had a toothache? Um... Dog.Euthanize.Undo()... Pin
Edmundisme28-Mar-07 8:26
Edmundisme28-Mar-07 8:26 
QuestionGNU license question (version 2) Pin
kamPooh28-Mar-07 6:14
kamPooh28-Mar-07 6:14 
AnswerRe: GNU license question (version 2) Pin
Stanciu Vlad28-Mar-07 8:20
Stanciu Vlad28-Mar-07 8:20 
GeneralRe: GNU license question (version 2) Pin
Wayne Phipps28-Mar-07 9:25
Wayne Phipps28-Mar-07 9:25 
GeneralRe: GNU license question (version 2) Pin
kamPooh28-Mar-07 15:34
kamPooh28-Mar-07 15:34 
GeneralRe: GNU license question (version 2) Pin
Nathan Addy28-Mar-07 15:52
Nathan Addy28-Mar-07 15:52 
QuestionHow to delete PDF files after viewing Pin
AndrusM28-Mar-07 5:50
AndrusM28-Mar-07 5:50 
QuestionAdapting form size to content size Pin
sinosoidal28-Mar-07 5:45
sinosoidal28-Mar-07 5:45 
AnswerRe: Adapting form size to content size Pin
Obaid ur Rehman28-Mar-07 7:43
Obaid ur Rehman28-Mar-07 7:43 
AnswerRe: Adapting form size to content size Pin
Arjun "Mjolnir" Bahree28-Mar-07 10:20
Arjun "Mjolnir" Bahree28-Mar-07 10:20 
AnswerRe: Adapting form size to content size Pin
Arjun "Mjolnir" Bahree28-Mar-07 10:21
Arjun "Mjolnir" Bahree28-Mar-07 10:21 
GeneralRe: Adapting form size to content size Pin
sinosoidal28-Mar-07 23:25
sinosoidal28-Mar-07 23:25 
QuestionMaximized child MDI form Pin
sinosoidal28-Mar-07 5:39
sinosoidal28-Mar-07 5:39 

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.