Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
GeneralRe: Query Pin
joon vh.3-Apr-07 22:33
joon vh.3-Apr-07 22:33 
Questiongrid control Pin
Enter the Dragon3-Apr-07 20:34
Enter the Dragon3-Apr-07 20:34 
AnswerRe: grid control Pin
Christian Graus3-Apr-07 20:46
protectorChristian Graus3-Apr-07 20:46 
GeneralRe: grid control Pin
joon vh.3-Apr-07 22:38
joon vh.3-Apr-07 22:38 
AnswerRe: grid control Pin
sudhakar_vaddepalli3-Apr-07 23:05
sudhakar_vaddepalli3-Apr-07 23:05 
QuestionIs it possible to use visual effect to show data from different sources? Pin
Khoramdin3-Apr-07 20:28
Khoramdin3-Apr-07 20:28 
AnswerRe: Is it possible to use visual effect to show data from different sources? Pin
Christian Graus3-Apr-07 20:32
protectorChristian Graus3-Apr-07 20:32 
GeneralRe: Is it possible to use visual effect to show data from different sources? Pin
Khoramdin3-Apr-07 20:47
Khoramdin3-Apr-07 20:47 
Hello Christian,

Thanx for the respond. I am reading the data from two different CSV files and as I read each line, seperate the values and then populate the correct column in each row.

The following code is for populating one of the CSV files into the ListView:

StreamReader streamReader = new StreamReader("MyTempList.txt");<br />
        while ((line = streamReader.ReadLine()) != null)<br />
        {<br />
            //MessageBox.Show(line);<br />
            split = line.Split(delimiterChars);<br />
            //MessageBox.Show(split[0]);<br />
            //MessageBox.Show(split[1]);<br />
            //MessageBox.Show(split[2]);<br />
<br />
            // Call FindItemWithText, sending output to MessageBox.<br />
            ListViewItem foundItem = listView4.FindItemWithText(split[1]);<br />
            if (foundItem != null)<br />
            {<br />
                //MessageBox.Show("Calling FindItemWithText: " + foundItem.ToString());<br />
                // Do nothing.<br />
            }<br />
            else<br />
            {<br />
                //MessageBox.Show("Calling FindItemWithText: null");<br />
                ListViewItem item4 = new ListViewItem(split[0]);<br />
                item4.SubItems.Add(split[1]);<br />
                //item4.SubItems.Add(split[2]);<br />
                listView4.Items.Add(item4);<br />
            }<br />
        }



Thank you for taking the time and helping out, mate.



Khoramdin




-- modified at 3:02 Wednesday 4th April, 2007
GeneralRe: Is it possible to use visual effect to show data from different sources? Pin
Christian Graus3-Apr-07 21:52
protectorChristian Graus3-Apr-07 21:52 
GeneralRe: Is it possible to use visual effect to show data from different sources? Pin
joon vh.3-Apr-07 22:46
joon vh.3-Apr-07 22:46 
QuestionHandle key in all of application Pin
MHASSANF3-Apr-07 20:22
MHASSANF3-Apr-07 20:22 
AnswerRe: Handle key in all of application Pin
Christian Graus3-Apr-07 20:33
protectorChristian Graus3-Apr-07 20:33 
QuestionRe: Handle key in all of application Pin
MHASSANF3-Apr-07 21:34
MHASSANF3-Apr-07 21:34 
AnswerRe: Handle key in all of application Pin
Stefan Troschuetz3-Apr-07 21:49
Stefan Troschuetz3-Apr-07 21:49 
AnswerRe: Handle key in all of application Pin
Muammar©3-Apr-07 21:57
Muammar©3-Apr-07 21:57 
QuestionPictureBox contents Printing Pin
ullaskumar v3-Apr-07 20:17
ullaskumar v3-Apr-07 20:17 
AnswerRe: PictureBox contents Printing Pin
Christian Graus3-Apr-07 20:33
protectorChristian Graus3-Apr-07 20:33 
GeneralRe: PictureBox contents Printing Pin
ullaskumar v3-Apr-07 22:33
ullaskumar v3-Apr-07 22:33 
GeneralRe: PictureBox contents Printing Pin
Christian Graus4-Apr-07 1:53
protectorChristian Graus4-Apr-07 1:53 
GeneralRe: PictureBox contents Printing [modified] Pin
ullaskumar v4-Apr-07 2:26
ullaskumar v4-Apr-07 2:26 
GeneralRe: PictureBox contents Printing Pin
Luc Pattyn4-Apr-07 11:45
sitebuilderLuc Pattyn4-Apr-07 11:45 
QuestionInterop question [modified] Pin
buerklma3-Apr-07 20:15
buerklma3-Apr-07 20:15 
QuestionAssociating an icon wtih a paricular file Pin
Rohit Dev3-Apr-07 19:42
Rohit Dev3-Apr-07 19:42 
AnswerRe: Associating an icon wtih a paricular file Pin
Stefan Troschuetz3-Apr-07 21:15
Stefan Troschuetz3-Apr-07 21:15 
QuestionProblem getting text from ListView in another app Pin
Farhan Ali3-Apr-07 19:25
Farhan Ali3-Apr-07 19:25 

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.