A
Andrew
Hello, friends,
I know this sounds stupid, but I could not figure it out. So, help please.
I have ListView control in Details view and I need to populate. I used the
following code
for (int count = 1; count <= 50; count++)
{
ListViewItem listViewItem = new ListViewItem();
listViewItem.Text = "Page " + count.ToString();
listViewItem.Tag = count.ToString();
this.ListViewPageNumber.Items.Add(listViewItem);
}
However, to my surprise, I saw NOTHING in the list box, except the vertical
scroll bar was displayed.
Any ideas?
I know this sounds stupid, but I could not figure it out. So, help please.
I have ListView control in Details view and I need to populate. I used the
following code
for (int count = 1; count <= 50; count++)
{
ListViewItem listViewItem = new ListViewItem();
listViewItem.Text = "Page " + count.ToString();
listViewItem.Tag = count.ToString();
this.ListViewPageNumber.Items.Add(listViewItem);
}
However, to my surprise, I saw NOTHING in the list box, except the vertical
scroll bar was displayed.
Any ideas?