what variable i can use instead of shared?

Posted by SmartestVEGA on Stack Overflow See other posts from Stack Overflow or by SmartestVEGA
Published on 2010-03-25T16:59:55Z Indexed on 2010/03/25 17:33 UTC
Read the original article Hit count: 376

Filed under:
|
|
|

I have the following variable which creates problem when i use multiples instance of the same web form. Could you please let me know how i could what variables other than shared i can use to achieve this purpose?

Public strRoleType As String = String.Empty
Protected Shared isAreaSelected As Integer = 0
Protected Shared isStoreSelected As Integer = 0
Protected Shared isHeadOfficeSelected As Integer = 0
Protected Shared isRegionSelected As Integer = 0

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about variables