Posts

Showing posts from April, 2013

An example of Arrays,ArrayList,generic collections in an ASP.Net application !!!

In one of my ASP.Net seminars I have been asked to provide a small sample/example on working with a group of custom objects. I have created a small example/site with ASP.Net & C# and  thought it might be a good idea to share it with you. More specifically I have been asked to create a small ASP.Net web site where I will demonstrate the use of arrays with objects,ArrayLists with objects and generic collections with objects. I know some people will find this post's contents pretty basic but for those junior developers out there, I hope it is really helpful. Let's demonstrate that using our usual methodology, a hands-on step by step example. We will start with an array of objects first. 1) Launch Visual Studio 2010/2008/2005. Express editions work fine. 2) Create a new empty website and give it an appropriate name.Choose C# as the development language. 3)  Add a new item in your site, a web form item. Leave the default name, so it is calledDefault.aspx. 4) Add a ne