Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListView in C# Pin
mrithula825-Mar-09 21:08
mrithula825-Mar-09 21:08 
GeneralRe: ListView in C# Pin
King Julien25-Mar-09 21:30
King Julien25-Mar-09 21:30 
GeneralRe: ListView in C# Pin
mrithula826-Mar-09 1:08
mrithula826-Mar-09 1:08 
GeneralRe: ListView in C# Pin
King Julien26-Mar-09 1:24
King Julien26-Mar-09 1:24 
GeneralRe: ListView in C# Pin
mrithula826-Mar-09 1:32
mrithula826-Mar-09 1:32 
GeneralRe: ListView in C# Pin
King Julien26-Mar-09 1:56
King Julien26-Mar-09 1:56 
GeneralRe: ListView in C# Pin
mrithula826-Mar-09 5:59
mrithula826-Mar-09 5:59 
GeneralRe: ListView in C# Pin
mrithula826-Mar-09 19:00
mrithula826-Mar-09 19:00 
Hi,
If i add subitem like the following it just gives the subitem "Started" corresponding to every item in listview.But what i require is that when the server starts it must display the subitem "Started.." to the corresponding item (server) that has started.
DirectoryInfo di = new DirectoryInfo(foldername);
                                    if (di.Exists)
                                    {
                                        String[] files;
                                        files = Directory.GetFiles(foldername,"*.exe*");

                                        foreach (String filename in files)
                                        {
                                            lvi = new ListViewItem();
                                            lvi.Text = filename;
                                            listView1.Items.Add(lvi);

                                            lvi = new ListViewItem();
                                            lvi.SubItems.Add("Started..");
                                            listView1.Items.Add(lvi);                                                                             

                                        }
                                        this.Controls.Add(listView1);

GeneralRe: ListView in C# Pin
King Julien26-Mar-09 19:22
King Julien26-Mar-09 19:22 
GeneralRe: ListView in C# Pin
mrithula829-Mar-09 0:51
mrithula829-Mar-09 0:51 
AnswerRe: ListView in C# [modified] Pin
Xmen Real 24-Mar-09 20:35
professional Xmen Real 24-Mar-09 20:35 
QuestionRe: ListView in C# Pin
0x3c024-Mar-09 21:08
0x3c024-Mar-09 21:08 
AnswerRe: ListView in C# Pin
Xmen Real 24-Mar-09 21:12
professional Xmen Real 24-Mar-09 21:12 
QuestionI have this error (Specified cast is not valid.) Pin
malkan Rahim Nazari24-Mar-09 19:45
malkan Rahim Nazari24-Mar-09 19:45 
AnswerRe: I have this error (Specified cast is not valid.) Pin
Christian Graus24-Mar-09 20:26
protectorChristian Graus24-Mar-09 20:26 
GeneralRe: I have this error (Specified cast is not valid.) [modified] Pin
malkan Rahim Nazari24-Mar-09 22:26
malkan Rahim Nazari24-Mar-09 22:26 
GeneralRe: I have this error (Specified cast is not valid.) Pin
Luc Pattyn25-Mar-09 3:21
sitebuilderLuc Pattyn25-Mar-09 3:21 
QuestionProblem with connecting windows service through sockets Pin
lnmca24-Mar-09 18:54
lnmca24-Mar-09 18:54 
AnswerRe: Problem with connecting windows service through sockets Pin
Nicholas Butler25-Mar-09 0:00
sitebuilderNicholas Butler25-Mar-09 0:00 
GeneralRe: Problem with connecting windows service through sockets Pin
lnmca25-Mar-09 2:56
lnmca25-Mar-09 2:56 
QuestionError with nhunspell Pin
sagun shrestha24-Mar-09 18:48
sagun shrestha24-Mar-09 18:48 
AnswerRe: Error with nhunspell Pin
Ashfield24-Mar-09 22:15
Ashfield24-Mar-09 22:15 
QuestionHelp me!!with C# Please Pin
hoale200824-Mar-09 18:43
hoale200824-Mar-09 18:43 
GeneralRe: Help me!!with C# Please Pin
King Julien24-Mar-09 19:49
King Julien24-Mar-09 19:49 
AnswerRe: Help me!!with C# Please Pin
Christian Graus24-Mar-09 20:24
protectorChristian Graus24-Mar-09 20:24 

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.