Click here to Skip to main content
15,904,653 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting a base control from event arg. Pin
Diego F.4-Apr-07 1:05
Diego F.4-Apr-07 1:05 
GeneralRe: Getting a base control from event arg. Pin
Diego F.4-Apr-07 1:34
Diego F.4-Apr-07 1:34 
QuestionMy Application takes 5 hours to run Pin
rkherath3-Apr-07 22:40
rkherath3-Apr-07 22:40 
AnswerRe: My Application takes 5 hours to run Pin
Colin Angus Mackay3-Apr-07 22:46
Colin Angus Mackay3-Apr-07 22:46 
GeneralRe: My Application takes 5 hours to run Pin
rkherath3-Apr-07 22:55
rkherath3-Apr-07 22:55 
GeneralRe: My Application takes 5 hours to run Pin
V.3-Apr-07 23:37
professionalV.3-Apr-07 23:37 
GeneralRe: My Application takes 5 hours to run Pin
rkherath3-Apr-07 23:58
rkherath3-Apr-07 23:58 
GeneralRe: My Application takes 5 hours to run Pin
Christian Graus4-Apr-07 0:04
protectorChristian Graus4-Apr-07 0:04 
GeneralRe: My Application takes 5 hours to run Pin
V.4-Apr-07 0:09
professionalV.4-Apr-07 0:09 
AnswerRe: My Application takes 5 hours to run Pin
joon vh.3-Apr-07 22:48
joon vh.3-Apr-07 22:48 
GeneralRe: My Application takes 5 hours to run Pin
rkherath3-Apr-07 22:59
rkherath3-Apr-07 22:59 
QuestionSQL Server 2005, Usage % all databases using performance counters!! Pin
Adeel Chaudhry3-Apr-07 21:26
Adeel Chaudhry3-Apr-07 21:26 
Generaladd to above... Pin
Adeel Chaudhry3-Apr-07 21:27
Adeel Chaudhry3-Apr-07 21:27 
QuestionQuery [modified] Pin
Nekshan3-Apr-07 21:09
Nekshan3-Apr-07 21:09 
AnswerRe: Query Pin
Christian Graus3-Apr-07 21:53
protectorChristian Graus3-Apr-07 21:53 
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 

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.