Show a list View in Group

Monday, December 29, 2008

This will show the list view Group

Dim ObjListItem As ListViewItem
Dim ObjListViewGroup As ListViewGroup
ObjListViewGroup = New ListViewGroup("File Name :" & FileName)
LvwBills.Groups.Add(ObjListViewGroup)
For iCount = 0 To 10                
                ObjListItem = New ListViewItem(ObjListViewGroup)
                ObjListItem.SubItems.Add("ABCD"              
                LvwBills.Items.Add(ObjListItem)
                PFileProcessBar.Value = iCount
Next

0 comments

Post a Comment