Re: global generic list
- From: "Vivek" <viveks@xxxxxxxxxx>
- Date: Tue, 27 Dec 2005 19:53:47 +1300
Thanks. How can I update the LIST once I have updated the values? My target
is to update the database and the list at the same time and then reload my
listview control from LIST.
"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:e2PwdupCGHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
> Vivek,
>
> You don't necessarily have to make the variable global in scope. You
> could pass the list from one form to another through a property or method
> or public field. However, if you really want, you can just declare the
> list as static and public, and then any type will have access to that.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> "Vivek" <viveks@xxxxxxxxxx> wrote in message
> news:OYatAUpCGHA.312@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I have created a list<t> for my form that displays data in a listview. I
>> wixh to edit the row with the help of another form and then update the
>> list<t>. How do I declare a global list that I can use on various forms.
>>
>> Thanks
>>
>>
>
>
.
- Follow-Ups:
- Re: global generic list
- From: Joanna Carter [TeamB]
- Re: global generic list
- References:
- global generic list
- From: Vivek
- Re: global generic list
- From: Nicholas Paldino [.NET/C# MVP]
- global generic list
- Prev by Date: Re: Can you write code directly in CIL ???
- Next by Date: RE: Intellisense not picking up summary tag info in other lib
- Previous by thread: Re: global generic list
- Next by thread: Re: global generic list
- Index(es):
Relevant Pages
|