Scale black

Scale black

  • NA
  • 7
  • 0

Noob question

May 10 2006 6:45 PM
I'm fairly new to c# im try to insert strings into the second column of a listview but it keep add them in the frist column. files = Directory.GetFiles(overrid); foreach (string file in files) { string fil = file.Replace(overrid, ""); //remove directory from string leaving name listView1.Items.Insert(0, fil); //add them to the frist column *works* //file size FileInfo finfo = new FileInfo(file); size = finfo.Length.ToString(); ListView1.Items.Insert(1,"Size in bytes: " + size); //doesnt work gets added to frist column no to the second one. } I tought that the number behind insert( was the column number that doesnt seem to be what am i doing wrong (was using 3 seperate treeviews before) Greets Scale.