Hello and happy Friday,


 I have an area in my application that lets my clients login. An ArrayList
holds that clients information, and there are several different types of
information I collect.



 Right now I have about three ArrayLists that are used to hold different
types of information and this is for all my clients that login.



 My question is this, when the client logs in couldn't I just create a new
instance of an ArrayList and just use one ArrayList for all this clients
information, then when another one logs in create another one for their
information, so on and so forth?



 What I do now when retrieving this information is query for the clients
name arraylist.ContainsKey("clientname")..but I do that with three other
ArrayLists too just to get information.



 I would be better I could just create a new instance of an ArrayList and
and name it whatever the clients login is 'Client1' then reference that
ArrayList when querying.



 Is this possible?



 If I declare an ArrayList in Declarations: ie ArrayList arrList1;



  Could I create another instance of arrList1 and rename it to arrClient1
and it be a whole new arraylist?





  Hope this makes sense.



  Thanks and have a great weekend,

     Steve Welborn




===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to