TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
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.
Reply
Answers (
0
)
CS0200: Property or indexer 'System.Web.UI.WebControls.Login.Password' cannot be assigned to -- it is read only
Image Import From Access Database