Click here to Skip to main content
15,885,767 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to save image in a folder? and how to show image in a picturebox with windows project by C# language Pin
0x3c024-Mar-09 21:05
0x3c024-Mar-09 21:05 
AnswerRe: How to save image in a folder? and how to show image in a picturebox with windows project by C# language Pin
Tom Deketelaere24-Mar-09 23:22
professionalTom Deketelaere24-Mar-09 23:22 
AnswerRe: How to save image in a folder? and how to show image in a picturebox with windows project by C# language Pin
Thomas Krojer25-Mar-09 2:45
Thomas Krojer25-Mar-09 2:45 
QuestionHow to attach a file(attachment) in a datagrid cell? Pin
hhill24-Mar-09 20:27
hhill24-Mar-09 20:27 
AnswerRe: How to attach a file(attachment) in a datagrid cell? Pin
King Julien24-Mar-09 21:37
King Julien24-Mar-09 21:37 
QuestionListView in C# Pin
mrithula824-Mar-09 20:00
mrithula824-Mar-09 20:00 
AnswerRe: ListView in C# Pin
Christian Graus24-Mar-09 20:25
protectorChristian Graus24-Mar-09 20:25 
GeneralRe: ListView in C# Pin
mrithula824-Mar-09 20:56
mrithula824-Mar-09 20:56 
Hi fil2 contains the list of all the files.If i use listBox.Items.Add(fil2.Tostring()); it dis[plays the list of files in the listbox.But i want to display in the listview control.I have added column headers to the listview control.I want to display the names of the files under the header named "Servers".
foreach (String filename in files)
                                        {
                                            FileInfo fil2 = new FileInfo(filename);
                                            foreach (String sfil in fil2)
                                            {
                                                listView1.Items.Add(sfil);
                                                
                                            }

This gives me name of only the last file in that folder.
GeneralRe: ListView in C# Pin
King Julien24-Mar-09 21:23
King Julien24-Mar-09 21:23 
GeneralRe: ListView in C# Pin
mrithula824-Mar-09 21:36
mrithula824-Mar-09 21:36 
GeneralRe: ListView in C# Pin
King Julien24-Mar-09 23:00
King Julien24-Mar-09 23:00 
GeneralRe: ListView in C# Pin
mrithula825-Mar-09 0:11
mrithula825-Mar-09 0:11 
GeneralRe: ListView in C# Pin
King Julien25-Mar-09 0:55
King Julien25-Mar-09 0:55 
GeneralRe: ListView in C# Pin
mrithula825-Mar-09 19:25
mrithula825-Mar-09 19:25 
GeneralRe: ListView in C# Pin
King Julien25-Mar-09 20:08
King Julien25-Mar-09 20:08 
GeneralRe: ListView in C# Pin
mrithula825-Mar-09 20:18
mrithula825-Mar-09 20:18 
GeneralRe: ListView in C# Pin
King Julien25-Mar-09 20:49
King Julien25-Mar-09 20:49 
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 

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.