10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
sarada
0
34
0
How to use for loop using listview to store items?
May 16 2009 1:04 AM
hi,
I am using listview to add items.This is the code i am using to add items in listview using ini file. It is storing only one item in listview,but i want to store more items.Can u help me?
listView1.Columns.Add("Dialled Numbers", 90, HorizontalAlignment.Left);
listView1.Columns.Add("Data and time of Call", 120, HorizontalAlignment.Center);
listView1.Columns.Add("Duration", 120, HorizontalAlignment.Right);
ListViewItem lstvew;
lstvew = listView1.Items.Add(logdial.IniReadValue("Information", "Dialled number"), 1);
lstvew.SubItems.Add(DateTime.Now.ToString());
lstvew.SubItems.Add(callpath.IniReadValue("Information", "Call Duration"));
listView1.Refresh();
Reply
Answers (
1
)
Help with datagrid
Newbie..what language?