Hope that the following code can help you out.
using C#
ImageList il = new ImageList();
il.Images.Add("test1", Image.FromFile(@"c:DocumentsSharpDevelop Projectslearning2learning2Koala.jpg"));
listView1.View = View.LargeIcon;
listView1.LargeImageList = il;
listView1.Items.Add("test");
for(int i = 0; i < il.Images.Count; i++)
{
ListViewItem lvi = new ListViewItem();
lvi.ImageIndex = i;
lvi.Text="koala 1";
listView1.Items.Add(lvi);
}
Running this kind of code can get you the image and the text in a listview.
For further more details, refer to this post
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…