You're not giving us enough info. Windows Forms or ASP.NET?

And, before you answer that, I suggest you try Google, because I just
found your answer many times over. Don't be lazy.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Fri, Sep 25, 2009 at 8:37 AM, amirhosein najafi
<[email protected]> wrote:
>
> Hi All,
> Can I have a Listvew in which Groups have ability to expand or shrink?
> Now I Generate a Listviw in which groups are expand always, in Vb.Net.
> for i as integer=0 to Number
> 'Add Items
>     ListView1.Items.Add(i)
> 'Add tow SubItems
>     ListView1.Items(i).SubItems.Add(1)
>     ListView1.Items(i).SubItems.Add(2)
> next
> 'Generat  a Group
> ListView1.Groups.Add(New ListViewGroup("BaSalam",
> HorizontalAlignment.Left))
> 'Add Items to Group
>           For j = 0 To clsShareParam.NumPoint - 1
>               ListView1.Items.Item(i).Group = ListView1.Groups(1)
>           Next
>

Reply via email to