Using collection in asp.net
I am here trying to convert an application from from classic app to asp.net. In the classic form the forms works fine. But when I try to convert it asp.net and use it then a error occurs. The error probably comes when I try to set the mycollection object to ReturnValue. I am always confused with the collection thing is asp.net. How can I use control collection in asp.net webpage. How to work with this.
Re: Using collection in asp.net
I will advice you to declare the collection in your web page as a vba.collectionclass object. I don't think there is any major issue with your site. Only thing you are confused is in the collection thing. Log in to msdn microsoft site for more general information on collections and their implementation. You will get an more clear idea about this.
Re: Using collection in asp.net
I think the base of confusion in collection lies in at the source of Terminology. In .net the collections are referred as collections, list and dictionaries. Like for a simple example sortedlist. It has key and value pairs that are sorted by the keys and they can access by the key and index. The most common collections are array list, duplicats, lookup by index or value, sorting, implications, etc. It is important to collect more information on them.
Re: Using collection in asp.net
Log in to the msdn Microsoft site. It has some sample codes for control class. Here the control class and the derived classing which includes pages class expose a control property that return a ControlCollection instance. This hierarchy alloys you to walk the control tree programatically and to search for specific controls on a page. You are also allowed here to check the type of control within the collection in order to access their properties.