Hi
I am using
Vb.net m ASP.net...
I have an ArrayList that contains a list of items that actually appear in the DDL as shown in the code bellow:
1 Dim list As ArrayList
2 list = New ArrayList
3 DDL.DataTextField = "Title"
4 DDL.DataValueField = "BlogID"
5 DDL.DataSource = list
6 DDL.DataBind()
What i am trying to do is to perform filtering on the Arraylist Such that all the Titles that start from letter A will be copied from original ArrayList "list" to new ArrayList "listA ", similarly all Titles that start from letter B will be copied into the ArraList listB and so on...But I also want to maintain the original ArrayList "list" for future use.
Any code will be really appreciated.
Many Thanks in advance...
Sheraz